-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.63 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
47
48
49
50
51
52
53
54
55
56
57
{
"private": true,
"scripts": {
"clean": "rimraf \"public\" \"static/**/*.+(js|css)\"",
"build": "npm-run-all clean build:css build:js",
"build:js": "NODE_ENV=production webpack",
"build:css": "postcss src/css/style.css -d static/assets",
"prewatch": "npm run clean",
"watch": "npm-run-all -p watch:*",
"watch:js": "webpack --watch",
"watch:css": "yarn build:css --watch",
"lint": "npm-run-all lint:js lint:css",
"lint:css": "stylelint \"src/css/**/*.css\"",
"format": "npm-run-all format:prettier -p format:css",
"format:prettier": "prettier --write \"**/*.+(js|css|md|yml|json)\"",
"format:css": "yarn lint:css --fix"
},
"devDependencies": {
"autoprefixer": "^9.7.3",
"css-mqpacker": "^7.0.0",
"cssnano": "^4.1.10",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"npm-run-all": "^4.1.5",
"postcss-cli": "^6.1.3",
"postcss-color-mod-function": "^3.0.3",
"postcss-custom-media": "^7.0.8",
"postcss-easy-import": "^3.0.0",
"postcss-hash": "^1.0.2",
"postcss-nesting": "^7.0.1",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"stylelint": "^12.0.1",
"stylelint-config-prettier": "^8.0.0",
"stylelint-config-standard": "^19.0.0",
"stylelint-prettier": "^1.1.2",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-manifest-plugin": "^2.2.0"
},
"dependencies": {
"normalize.css": "^8.0.1",
"prismjs": "^1.17.1",
"quicklink": "^2.0.0-alpha"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
}
}