-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
55 lines (55 loc) · 1.88 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
{
"private": true,
"repository": "github:pkmn/ai",
"license": "MIT",
"dependencies": {
"@retorquere/bibtex-parser": "^9.0.17",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.0",
"favicons": "^7.2.0",
"site": "github:scheibo/static",
"source-map-support": "^0.5.21",
"subpkg": "^4.1.0",
"typescript": "^5.7.2",
"yaml": "^2.6.1"
},
"devDependencies": {
"@pkmn/eslint-config": "^9.3.0",
"@untitaker/hyperlink": "^0.1.43",
"stylelint": "16.10",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^36.0.1",
"vitest": "^2.1.5"
},
"scripts": {
"lint": "subpkg run lint && eslint --cache && stylelint static/*.css && hyperlink public --check-anchors",
"fix": "subpkg run fix && eslint --fix && stylelint --fix static/*.css",
"clean": "subpkg run clean && rm -rf public build .tsbuildinfo .eslintcache",
"compile": "subpkg run compile && tsc -p .",
"build": "npm run compile && node build/static/build",
"start:controller": "npm run build && false",
"start:server": "node build/server",
"start": "npm run start:server",
"test": "npm run build && subpkg run vitest && npm run lint",
"test:integration": "npm run test && vitest test",
"tools:archive": "npm run compile && node build/tools/archive",
"tools:backup": "npm run compile && node build/tools/backup",
"tools:ratings": "npm run compile && node build/tools/ratings",
"deploy:reload": "ssh pkmn@pkmn.ai 'cd /home/pkmn/ai && ./deploy reload'",
"deploy:restart": "ssh pkmn@pkmn.ai 'cd /home/pkmn/ai && ./deploy restart'",
"deploy": "npm run deploy:restart",
"postinstall": "subpkg install"
},
"subPackages": [
"baselines"
],
"stylelint": {
"extends": [
"stylelint-config-standard",
"stylelint-config-rational-order"
],
"rules": {
"rule-empty-line-before": null
}
}
}