-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
33 lines (33 loc) · 1.11 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
{
"name": "gql-apex-client",
"private": true,
"version": "2.0.0",
"description": "graphql-apex-client",
"scripts": {
"prettier": "prettier --write",
"prettier:verify": "prettier --list-different",
"docs:types:refresh": "npm run docs:types:clean && npm run docs:types:generate && npm run prettier ./docs/types",
"docs:types:clean": "shx rm -r ./docs/types",
"docs:types:generate": "apexdocs-generate -s ./src/main -t ./docs/types --documentationRootDir '/types' -p global -g docsify --defaultGroupName Query --title 'Type Definitions'"
},
"devDependencies": {
"@cparra/apexdocs": "^2.17.0",
"@ilyamatsuev/prettier-plugin-apex": "2.2.0",
"@prettier/plugin-xml": "^0.12.0",
"docsify-cli": "^4.4.4",
"husky": "^4.2.1",
"lint-staged": "^10.0.7",
"prettier": "^2.8.8",
"shx": "^0.3.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{cls,trigger,md,xml,yaml,yml,json}": [
"npm run prettier"
]
}
}