-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.18 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
{
"name": "adorable-pug",
"version": "1.0.0",
"description": "adorable-pug",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"cz": "yarn format && git add . && git cz",
"format": "yarn prettier --write \"**/*.pug\"",
"dev": "yarn pre && run-p dev-* watch",
"build": "yarn pre && run-p build-*",
"pre": "rm -rf dist/ && yarn cp-assets",
"cp-assets": "mkdirp dist/ && cp -frp src/assets dist/",
"dev-html": "yarn build-html --watch",
"dev-css": "NODE_ENV=development yarn build-css --watch",
"dev-js": "yarn build-js --watch",
"build-html": "pug src/pages/ --out dist/ --pretty",
"build-css": "node scripts/build-styl.js",
"build-js": "babel src/ --out-dir dist/",
"watch": "livereload dist/",
"upgrade-dependencies": "npx npm-check-updates -u && yarn"
},
"author": "leihancn",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@prettier/plugin-pug": "^1.5.0",
"livereload": "^0.9.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"pug-cli": "^1.0.0-alpha6",
"stylus": "^0.54.8"
}
}