-
-
Notifications
You must be signed in to change notification settings - Fork 152
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 5.61 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 5.61 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "@deities/athena-crisis",
"version": "1.0.0",
"private": true,
"author": "Christoph Nakazawa <christoph.pojer@gmail.com>",
"repository": {
"type": "git",
"url": "git://github.com/nkzw-tech/athena-crisis.git"
},
"type": "module",
"scripts": {
"ac": "node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm --env-file ./artemis/.env ./artemis/scripts/ac.tsx",
"ai:benchmark": "pnpm ai:benchmark:ranked && pnpm ai:benchmark:sea",
"ai:benchmark:ranked": "node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm zeus/ai/scripts/run-ai-ranked-benchmark.tsx",
"ai:benchmark:sea": "RUN_AI_BENCHMARK=1 vitest run zeus/ai/__tests__/AISeaBenchmark.eval.test.tsx",
"build:assets": "node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm --loader ./scripts/variant-loader.js --loader ./scripts/image-loader.js ./scripts/build-assets.tsx",
"build:client": "rm -rf ./dist/ares && pnpm fbtee && pnpm vite build --outDir ../dist/ares -c ./ares/vite.config.ts ./ares/",
"build:demo": "export IS_DEMO=1 && rm -rf ./dist/ares-demo && pnpm fbtee && pnpm vite build --outDir ../dist/ares-demo -c ./ares/vite.config.ts ./ares/",
"build:docker-server": "RELEASE_ID=$(git rev-parse --short HEAD) docker buildx build --load -f Dockerfile --platform=linux/amd64 --tag athena-crisis --build-arg RELEASE_ID=$RELEASE_ID .",
"build:docs": "rm -rf ./dist/deimos/open-source && cd docs && pnpm build && cd .. && cp -R docs/dist/public ./dist/deimos/open-source",
"build:offline": "rm -rf ./dist/offline && pnpm vite build --outDir ../dist/offline -c ./offline/vite.config.ts ./offline; rm -rf mobile/dist/offline; mkdir mobile/dist; cp -R dist/offline mobile/dist/offline; rm -rf electron/offline; cp -R dist/offline electron/offline",
"build:server": "./build-server",
"build:splash": "rm -rf ./dist/deimos && pnpm vite build --outDir ../dist/deimos -c ./deimos/vite.config.ts ./deimos/ && pnpm build:docs",
"build:steam-i18n": "rm -rf ./dist/steami18n && node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm ./ares/scripts/translateStorepage.js",
"codegen": "node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm ./codegen/generate-all.tsx",
"copybara": "java -jar tooling/copybara.jar copy.bara.sky push",
"dev": "npm-run-all --parallel dev:client dev:server",
"dev:client": "PORTLESS_APP_PORT=3031 portless athena-crisis ./ares/ares.tsx",
"dev:docs": "cd docs && pnpm dev",
"dev:prisma-generate": "node -e \"const fs=require('node:fs');const cp=require('node:child_process');fs.existsSync('artemis/prisma')&&cp.execSync('pnpm prisma generate',{cwd:'artemis',stdio:'inherit'})\"",
"dev:server": "PORTLESS_APP_PORT=3032 portless api.athena-crisis ./artemis/artemis.tsx",
"dev:setup": "pnpm dev:prisma-generate && pnpm relay && pnpm codegen && pnpm fbtee",
"dev:update-deps": "rm -rf pnpm-lock.yaml node_modules/ **/node_modules && pnpm dev:setup",
"fbtee": "node -e \"const fs=require('node:fs');const cp=require('node:child_process');fs.existsSync('ares/src')&&cp.execSync('pnpm fbt',{cwd:'ares',stdio:'inherit'})\"",
"fbtee:prepare": "fbtee prepare-translations --source-strings source_strings.json --output-dir ares/translations --locales de_DE fr_FR ja_JP pl_PL ru_RU zh_CN es_ES it_IT ko_KR pt_BR uk_UA",
"format": "oxfmt --write .",
"lint": "oxlint .",
"lint:format": "oxfmt --check .",
"preinstall": "node -e \"require('node:child_process').spawnSync('git',['config','core.hooksPath','git-hooks'])\"",
"prisma": "cd artemis && pnpm prisma",
"relay": "node -e \"const fs=require('node:fs');const cp=require('node:child_process');fs.existsSync('ares/src')&&cp.execSync('pnpm relay-compiler',{cwd:'ares',stdio:'inherit'})\"",
"test": "npm-run-all --parallel tsc:check lint lint:format relay vitest:run",
"test:ci": "pnpm npm-run-all --parallel tsc:check lint lint:format vitest:run-ci",
"tsc:check": "tsgo",
"vitest:run": "CPUS=$(if uname -s | grep -q Darwin; then sysctl -n hw.ncpu; else nproc --all; fi); export VITEST_MAX_THREADS=$(($CPUS - 2)); export VITEST_MIN_THREADS=$(($CPUS - 2)); vitest run",
"vitest:run-ci": "vitest run"
},
"devDependencies": {
"@deities/eslint-plugin": "workspace:*",
"@nkzw/babel-preset-fbtee": "^2.0.0",
"@nkzw/eslint-plugin": "^2.0.0",
"@nkzw/eslint-plugin-fbtee": "^2.0.0",
"@nkzw/find-workspaces": "^1.1.0",
"@nkzw/oxlint-config": "^1.2.1",
"@nkzw/pothos-locate": "^1.0.0",
"@rolldown/plugin-babel": "^0.2.3",
"@styled/typescript-styled-plugin": "^1.0.1",
"@svgr/core": "^8.1.0",
"@svgr/plugin-jsx": "^8.1.0",
"@swc/core": "1.15.40",
"@types/node": "^25.9.1",
"@typescript/native-preview": "7.0.0-dev.20260527.2",
"@vitejs/plugin-react": "^6.0.2",
"babel-plugin-react-compiler": "^1.0.0",
"chalk": "^5.6.2",
"dotenv": "^17.4.2",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-no-only-tests": "^3.4.0",
"eslint-plugin-perfectionist": "^5.9.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-workspaces": "^0.12.1",
"nodemon": "^3.1.14",
"npm-run-all2": "^9.0.1",
"oxfmt": "^0.52.0",
"oxlint": "1.67.0",
"portless": "^0.13.1",
"ts-node": "^10.9.2",
"vite": "^8.0.14",
"vitest": "^4.1.7"
},
"nodemonConfig": {
"ext": "tsx",
"watch": [
"apollo/",
"artemis/",
"athena/",
"dionysus/",
"hermes/",
"i18n/",
"zeus/"
]
},
"engines": {
"node": ">=23.0.0",
"pnpm": ">=9.0.1"
}
}