-
Notifications
You must be signed in to change notification settings - Fork 790
/
package.json
50 lines (50 loc) · 1.75 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": "outline-server",
"private": true,
"dependencies": {
"node-fetch": "^2.6.7"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.0.0",
"@types/jasmine": "^3.5.10",
"@types/node-fetch": "^2.6.2",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"@webpack-cli/serve": "^2.0.5",
"browserslist": "^4.20.3",
"eslint": "^8.10.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-import": "^2.26.0",
"generate-license-file": "^1.2.0",
"husky": "^1.3.1",
"jasmine": "^3.5.0",
"minimist": "^1.2.8",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1",
"typescript": "^4.9.5"
},
"engines": {
"node": "18.x.x"
},
"scripts": {
"action": "bash ./scripts/run_action.sh",
"action:help": "npm run action",
"action:list": "npm run action",
"clean": "rm -rf src/*/node_modules/ build/ node_modules/ src/server_manager/install_scripts/do_install_script.ts src/server_manager/install_scripts/gcp_install_script.ts third_party/shellcheck/download/ third_party/*/bin third_party/jsign/*.jar",
"format": "pretty-quick --staged --pattern \"**/*.{cjs,html,js,json,md,ts}\"",
"format:all": "prettier --write \"**/*.{cjs,html,js,json,md,ts}\"",
"lint": "npm run lint:sh && npm run lint:ts",
"lint:sh": "bash ./scripts/shellcheck.sh",
"lint:ts": "eslint \"**/*.{js,ts}\"",
"test": "npm run lint && npm run action metrics_server/test && npm run action sentry_webhook/build && npm run action server_manager/test && npm run action shadowbox/test"
},
"workspaces": [
"src/*"
],
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run format"
}
}
}