-
Notifications
You must be signed in to change notification settings - Fork 97
/
package.json
56 lines (56 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
{
"name": "docs",
"description": "DITA-OT Documentation",
"homepage": "https://github.com/dita-ot/docs",
"repository": {
"type": "git",
"url": "https://github.com/dita-ot/docs.git"
},
"license": "Apache-2.0",
"scripts": {
"check": "npm run prettier-check && npm run stylelint",
"fix:style": "stylelint \"**/*.css\" --fix",
"fmt": "npm run format",
"format": "prettier --write \"**/*.{css,dita*,json,md,scss,xml,yaml,yml}\"",
"lint-staged": "lint-staged --no-stash",
"prepare": "husky",
"prettier": "prettier --write \"**/*.{css,dita*,json,md,scss,xml,yaml,yml}\"",
"prettier-check": "prettier --check \"**/*.{css,dita*,json,md,scss,xml,yaml,yml}\"",
"stylelint": "stylelint \"**/*.css\"",
"test": "prettier --list-different \"**/*.{css,dita*,json,md,scss,xml,yaml,yml}\""
},
"lint-staged": {
"*.{css,dita*,json,md,scss,xml,yaml,yml}": [
"prettier --write"
],
"*.{css,scss}": [
"stylelint"
]
},
"stylelint": {
"extends": [
"stylelint-config-recommended",
"stylelint-config-sass-guidelines"
],
"ignoreFiles": [
"out/**/*.css"
],
"rules": {
"no-descending-specificity": null,
"no-irregular-whitespace": null,
"selector-class-pattern": null,
"selector-max-id": 1,
"selector-max-type": 3,
"selector-no-qualifying-type": null
}
},
"devDependencies": {
"@prettier/plugin-xml": "3.4.1",
"husky": "^9.1.7",
"lint-staged": "15.2.10",
"prettier": "3.4.2",
"stylelint": "^15.11.0",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-sass-guidelines": "^10.0.0"
}
}