forked from BlueSky-07/Shuang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (46 loc) · 1.76 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": "shuang",
"version": "5.15.0",
"description": "帮助你快速上手双拼输入法",
"scripts": {
"clear": "node scripts/clear.js",
"bundle": "node scripts/bundle.js",
"rename": "node scripts/rename.js",
"build": "npm run clear && npm run build:src && npm run rename",
"build:src": "npm run bundle && npm run build:js && npm run build:css && npm run build:html",
"build:js": "npx babel src/app.bundle.js -d build && npx babel src/scheme -d build/scheme",
"build:css": "npx cleancss src/style.css -o build/style.min.css",
"build:html": "npx html-minifier --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true index.src.html -o index.html",
"debug": "npm run clear && npm run debug:src && npm run rename",
"debug:src": "npm run bundle && npm run debug:js && npm run debug:css && npm run debug:html",
"debug:js": "node scripts/copy.js src build",
"debug:css": "node scripts/copy.js src/style.css build/style.min.css",
"debug:html": "node scripts/copy.js index.src.html index.html",
"start": "npx serve"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BlueSky-07/Shuang.git"
},
"keywords": [
"双拼",
"练习"
],
"author": "BlueSky",
"license": "gpl-3.0",
"bugs": {
"url": "https://github.com/BlueSky-07/Shuang/issues"
},
"homepage": "https://api.ihint.me/shuang",
"devDependencies": {
"@babel/cli": "^7",
"@babel/core": "^7",
"@babel/preset-env": "^7",
"babel-preset-minify": "^0",
"clean-css-cli": "^4",
"html-minifier": "^4",
"fs-extra": "^9",
"serve": "^11.3.2"
},
"dependencies": {}
}