forked from jaywcjlove/FED
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.1 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
{
"name": "@wcj/fed",
"version": "1.0.0",
"description": "前端导航",
"main": "index.js",
"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"
},
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/FED.git"
},
"author": "kenny wang <[email protected]>",
"license": "MIT",
"devDependencies": {
"autoprefixer": "^9.7.5",
"autoprefixer-stylus": "^1.0.0",
"onchange": "^6.1.0",
"postcss-cli": "^7.1.0",
"sgo": "^2.3.1",
"stylus": "^0.54.7",
"stylus-px2rem": "^1.0.14",
"uglify-js": "^3.8.1"
}
}