-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 1.76 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
{
"name": "@thepalaceproject/web-opds-client-build",
"version": "0.0.3",
"description": "Build scripts for the OPDS web client",
"repository": {
"type": "git",
"url": "https://github.com/ThePalaceProject/web-opds-client.git"
},
"author": "The Palace Project",
"license": "Apache-2.0",
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"prepublish": "cd packages/web-opds-client && npm install && cd ../server && npm install",
"test": "cd packages/web-opds-client && npm test",
"dev-serve": "cd packages/server && npm run dev",
"dev-build": "cd packages/web-opds-client && npm run dev",
"dev": "npm run dev-build | npm run dev-serve",
"dev-test-axe": "TEST_AXE=true npm run dev",
"prod": "cd packages/web-opds-client && npm run prod && cd ../server && npm run start",
"start": "cd packages/server && npm run start",
"release": "cd packages/web-opds-client && npm publish --access public",
"build-docs": "cd packages/web-opds-client && npm run build-docs"
},
"devDependencies": {
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"prettier": "2.1.2"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md}": [
"prettier --write --ignore-path .gitignore"
]
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": true,
"endOfLine": "auto",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 80,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
}
}