-
-
Notifications
You must be signed in to change notification settings - Fork 156
/
package.json
37 lines (37 loc) · 1.15 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
{
"name": "@wcj/fed",
"version": "1.0.0",
"description": "前端导航",
"main": "./data.json",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build:css": "stylus -u autoprefixer-stylus -u stylus-px2rem styl/index.styl -o css/ -c",
"build": "npm run build:css && npm run build:js",
"watch": "npm run watch:css & npm run watch:js",
"watch:css": "stylus -u autoprefixer-stylus -w styl/index.styl -o css/ -c",
"watch:js": "onchange 'js/index.js' './data.json' -v -- npm run build:js",
"build:js": "npm run min:js && npm run min:data",
"min:js": "uglifyjs js/index.js -o js/index.min.js",
"min:data": "node js/build.json.js",
"server": "sgo --fallback index.html"
},
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/FED.git"
},
"files": [
"data.json"
],
"author": "kenny wang <[email protected]>",
"license": "MIT",
"devDependencies": {
"autoprefixer": "10.3.7",
"autoprefixer-stylus": "1.0.0",
"onchange": "7.1.0",
"postcss-cli": "^7.1.0",
"sgo": "3.0.1",
"stylus": "0.55.0",
"stylus-px2rem": "1.0.14",
"uglify-js": "3.14.2"
}
}