-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
45 lines (45 loc) · 1.46 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
{
"name": "nodecg-io",
"private": true,
"scripts": {
"clean": "node .scripts/exec.mjs clean",
"clean:root": "tsc -b --clean",
"update": "node .scripts/update-paths.mjs",
"build": "node .scripts/exec.mjs build",
"build:root": "tsc -b",
"test": "jest",
"watchTest": "jest --watch",
"coverage": "jest --coverage",
"rebuild": "node .scripts/exec.mjs rebuild",
"rebuild:root": "npm run clean:root && npm run build:root",
"watch": "node .scripts/exec.mjs watch",
"watch:root": "tsc -b -w --pretty --preserveWatchOutput",
"lint": "eslint . --ext ts --ignore-pattern '**/*.d.ts'",
"format": "prettier --write \"./**/*.{ts,html,css,json,mjs}\"",
"prepare": "husky install"
},
"devDependencies": {
"@manypkg/get-packages": "^2.2.1",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"jest": "^28.1.3",
"lint-staged": "^15.2.2",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"typescript": "^5.4.3"
},
"workspaces": [
"nodecg-io-core",
"nodecg-io-core/dashboard",
"services/*",
"samples/*",
"utils/*"
],
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*.{ts,html,css,json,mjs}": "prettier --write"
}
}