forked from v1z/linters-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
53 lines (53 loc) · 1.42 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
{
"name": "linters-example",
"version": "1.0.0",
"description": "example config for linters",
"repository": {
"type": "git",
"url": "git+https://github.com/v1z/linters-example.git"
},
"keywords": [
"stylelint",
"linter"
],
"author": "https://github.com/v1z",
"license": "ISC",
"bugs": {
"url": "https://github.com/v1z/linters-example/issues"
},
"homepage": "https://github.com/v1z/linters-example#readme",
"scripts": {
"lint:css": "stylelint \"src/**/*.css\" --config ./.stylelintrc-format",
"format:css": "prettier --write \"src/**/*.css\" && stylelint \"src/**/*.css\" --fix --config ./.stylelintrc-format"
},
"devDependencies": {
"husky": "^1.1.3",
"lint-staged": "^8.0.4",
"prettier": "^1.15.2",
"stylelint": "^9.8.0",
"stylelint-at-rule-no-children": "^0.3.1",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-recommended": "^2.1.0",
"stylelint-declaration-block-no-ignored-properties": "^1.1.0",
"stylelint-media-use-custom-media": "^1.0.0",
"stylelint-order": "^1.0.0",
"stylelint-value-no-unknown-custom-properties": "^2.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"linters": {
"*.css": [
"prettier --write",
"stylelint --fix --config ./.stylelintrc-format",
"git add"
]
},
"ignore": [
"**/src/styles/reboot.css"
]
}
}