-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
46 lines (46 loc) · 2.09 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "subeditor",
"description": "An alternative wysiwyg html editor designed for modern and old javascript",
"version": "0.6.1",
"keywords": [
"wysiwyg",
"html",
"editor"
],
"author": "Ancientec Co., Ltd.",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"license": "MIT",
"repository": "https://github.com/ancientec/subeditor",
"scripts": {
"clean": "node src/scripts/clean.js",
"clean:all": "npm run clean && (rm -r ./node_modules || true)",
"build-csssvg": "node src/scripts/build.js && node src/scripts/svg-path-editor.js",
"build": "npm run build-csssvg && npm run clean && tsc && npm run esbuild-browser && npm run esbuild-browser-core && npm run esbuild-doc",
"esbuild-browser-core": "esbuild src/browser.core.js --bundle --outfile=dist/subeditor.core.js && esbuild src/browser.core.js --bundle --minify --outfile=dist/subeditor.core.min.js",
"esbuild-browser": "esbuild src/browser.js --bundle --minify --outfile=dist/subeditor.min.js && esbuild src/browser.js --bundle --outfile=dist/subeditor.full.js",
"esbuild-doc": "esbuild src/browser.js --bundle --minify --outfile=docs/js/subeditor.min.js && esbuild src/browser.js --bundle --outfile=docs/js/subeditor.full.js && node doc-scripts/doc.js doc-scripts/config.json build",
"docs": "node doc-scripts/doc.js doc-scripts/config.json preview",
"test-upload" : "node example/nodejs/server.js",
"test": "echo 'use browser to open tests/index.html'"
},
"devDependencies": {
"@types/chai": "^4.2.21",
"@types/is-hotkey": "^0.1.5",
"@types/mocha": "^9.0.0",
"chai": "^4.1.2",
"esbuild": "^0.12.22",
"eslint": "^6.3.0",
"mocha": "^9.0.0",
"source-map-support": "^0.5.12",
"ts-node": "^10.0.0",
"typedoc": "^0.21.6",
"typescript": "^4.3.5"
},
"dependencies": {
"@ancientec/selection-serializer": "^1.0.3",
"is-hotkey": "^0.2.0",
"textdiff-create": "^1.0.5",
"textdiff-patch": "^1.0.5"
}
}