-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 3 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 3 KB
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
{
"name": "@hagicode/index",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "HagiCode JSON index site for index.hagicode.com",
"packageManager": "npm@10.9.2",
"scripts": {
"dev": "npm run prepare:generated && astro dev --host 0.0.0.0 --port ${PORT_INDEX:-31266}",
"start": "astro dev --host 0.0.0.0",
"build": "export NODE_ENV=\"${NODE_ENV:-production}\"; npm run prepare:generated && npm run i18n:check && astro build && node ./scripts/minify-published-json.mjs --published-root dist && npm run verify:json-routes -- --published-root dist",
"preview": "astro preview --port ${PORT_INDEX:-31266}",
"astro": "astro",
"i18n:audit": "hagi18n audit --config hagi18n.yaml",
"i18n:report": "hagi18n report --config hagi18n.yaml",
"i18n:doctor": "hagi18n doctor --config hagi18n.yaml",
"i18n:sync": "hagi18n sync --config hagi18n.yaml --from en-US",
"i18n:sync:write": "hagi18n sync --config hagi18n.yaml --from en-US --write",
"i18n:prune": "hagi18n prune --config hagi18n.yaml --from en-US",
"i18n:prune:write": "hagi18n prune --config hagi18n.yaml --from en-US --write",
"i18n:generate": "node ./scripts/generate-i18n-resources.mjs",
"prepare:i18n": "npm run i18n:generate",
"i18n:check": "node ./scripts/generate-i18n-resources.mjs --check",
"prepare:generated": "npm run prepare:i18n && npm run sync:secondary-professions && npm run sync:character-templates",
"verify:json-routes": "node --experimental-strip-types ./scripts/validate-catalog.mjs",
"sync:presets": "node ./scripts/sync-presets.mjs",
"sync:character-templates": "node ./scripts/build-agent-preset-library.mjs",
"validate": "export NODE_ENV=\"${NODE_ENV:-production}\"; npm run prepare:generated && npm run i18n:check && astro build --outDir .astro-validate && node ./scripts/minify-published-json.mjs --published-root .astro-validate && npm run verify:json-routes -- --published-root .astro-validate && node ./scripts/sync-secondary-professions.mjs --check",
"test": "export NODE_ENV=\"${NODE_ENV:-production}\"; npm run prepare:generated && npm run i18n:check && astro build --outDir .astro-test && node ./scripts/minify-published-json.mjs --published-root .astro-test && npm run verify:json-routes -- --published-root .astro-test && INDEX_BUILD_ROOT=.astro-test node --experimental-strip-types --test ./tests/*.test.mjs",
"typecheck": "astro check",
"generate:steam-achievements": "node ./scripts/generate-steam-achievement-icons.mjs",
"sync:index": "node ./scripts/sync-azure-index.mjs",
"sync:agent-templates": "node ./scripts/sync-agent-templates.mjs",
"sync:secondary-professions": "node ./scripts/sync-secondary-professions.mjs"
},
"dependencies": {
"@astrojs/sitemap": "^3.7.1",
"astro": "^6.0.7",
"js-yaml": "^4.1.1"
},
"devDependencies": {
"@astrojs/check": "^0.9.8",
"@hagicode/hagi18n": "^0.1.1",
"@types/node": "^24.5.2",
"typescript": "~5.3.3"
},
"engines": {
"node": ">=22.12.0",
"npm": ">=10.9.2"
}
}