-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
61 lines (61 loc) · 1.95 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
{
"name": "dita-bootstrap",
"description": "DITA Open Toolkit plug-in for HTML5 output with extensible Bootstrap style",
"homepage": "https://infotexture.github.io/dita-bootstrap",
"repository": {
"type": "git",
"url": "https://github.com/infotexture/dita-bootstrap.git"
},
"license": "Apache-2.0",
"scripts": {
"check": "npm run prettier-check && npm run stylelint",
"fix:style": "stylelint \"css/*.css\" .github/dita-ot/theme.css --fix",
"fmt": "npm run format",
"format": "prettier --write \"**/*.{css,dita*,json,md,xml,xsl,yml}\"",
"format:css": "prettier --write \"**/*.css\"",
"format:dita": "prettier --write \"**/*.dita\"",
"format:xml": "prettier --write \"**/*.xml\"",
"format:xsl": "prettier --write \"**/*.xsl\"",
"lint-staged": "lint-staged",
"prepare": "husky",
"prettier": "prettier --write \"**/*.{css,dita*,json,md,xml,xsl,yml}\"",
"prettier-check": "prettier --check \"**/*.{css,dita*,json,md,xml,xsl,yml}\"",
"stylelint": "stylelint \"css/*.css\" .github/dita-ot/theme.css",
"test": "prettier --list-different \"**/*.{css,dita*,json,md,xml,xsl,yml}\""
},
"lint-staged": {
"*.{css,dita*,json,md,xml,xsl,yml}": [
"prettier --write"
],
"*.css": [
"stylelint"
]
},
"stylelint": {
"extends": [
"stylelint-config-twbs-bootstrap"
],
"ignoreFiles": [
"css/custom.css"
],
"rules": {
"declaration-no-important": null,
"selector-max-id": 1,
"selector-max-type": 3,
"selector-no-qualifying-type": null,
"@stylistic/number-leading-zero": "always",
"@stylistic/string-quotes": "single"
}
},
"devDependencies": {
"@prettier/plugin-xml": "3.4.1",
"bootstrap": "^5.3.3",
"bootstrap-icons": "^1.11.3",
"bootswatch": "^5.3.3",
"husky": "^9.0.10",
"lint-staged": "15.2.5",
"prettier": "3.2.5",
"stylelint": "^16.2.1",
"stylelint-config-twbs-bootstrap": "^14.1.0"
}
}