-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
63 lines (63 loc) · 1.62 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
58
59
60
61
62
63
{
"name": "nescss-proposal",
"author": "BcRikko",
"version": "0.0.1-alpha",
"repository": {
"type": "git",
"url": "git+https://github.com/BcRikko/NES.css-proposal.git"
},
"scripts": {
"watch": "npm run sass -- --fix",
"build": "npm run stylelint && npm run clean && npm run sass && npm run autoprefix && npm run minify",
"sass": "node-sass --output-style expended --source-map true scss/nes.scss css/nes.css",
"clean": "rimraf css",
"autoprefix": "postcss --use autoprefixer --map false --output css/nes.css css/nes.css",
"stylelint": "stylelint ./scss/**/*.scss --fix",
"minify": "cleancss -o css/nes.min.css css/nes.css"
},
"devDependencies": {
"autoprefixer": "^9.6.1",
"clean-css-cli": "^4.3.0",
"husky": "^3.0.2",
"lint-staged": "^9.2.1",
"node-sass": "^4.12.0",
"postcss-cli": "^6.1.3",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"stylelint": "^10.1.0",
"stylelint-config-recess-order": "^2.0.3",
"stylelint-config-standard": "^18.3.0",
"stylelint-prettier": "^1.1.1",
"stylelint-scss": "^3.9.3"
},
"browserslist": [
">= 1% in JP",
"ie >= 10"
],
"stylelint": {
"plugins": [
"stylelint-scss",
"stylelint-prettier"
],
"extends": [
"stylelint-config-standard",
"stylelint-config-recess-order"
],
"rules": {
"prettier/prettier": true,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"scss/**/*.scss": [
"npm run stylelint",
"git add"
]
}
}