-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
50 lines (50 loc) · 1.73 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
{
"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\"",
"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}\""
},
"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",
"lefthook": "^1.8.5",
"prettier": "3.4.1",
"stylelint": "^16.11.0",
"stylelint-config-twbs-bootstrap": "^15.1.0"
}
}