Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.68 KB
/
Copy pathpackage.json
File metadata and controls
55 lines (55 loc) · 1.68 KB
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
{
"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}\"",
"nano-staged": "nano-staged",
"prepare": "simple-git-hooks",
"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}\""
},
"nano-staged": {
"*.{css,dita*,json,md,scss,xml,yaml,yml}": "prettier --write",
"*.{css,scss}": "stylelint"
},
"simple-git-hooks": {
"pre-commit": "npx nano-staged"
},
"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.2",
"nano-staged": "^1.0.2",
"prettier": "3.9.10",
"simple-git-hooks": "^2.14.0",
"stylelint": "^16.26.1",
"stylelint-config-recommended": "^17.0.0",
"stylelint-config-sass-guidelines": "^12.1.0"
}
}