-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.79 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 2.79 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
{
"name": "trait",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "npm run prepare:i18n && node ./scripts/dev-server.mjs",
"dev:static": "npm run prepare:i18n && node ./scripts/dev-server.mjs",
"build": "export NODE_ENV=\"${NODE_ENV:-production}\"; npm run prepare:i18n && npm run sync:agents && npm run sync:footer-sites && astro check && astro build && npm run seo:check",
"build:esa": "export NODE_ENV=\"${NODE_ENV:-production}\"; npm run prepare:i18n && npm run sync:agents:build && npm run sync:footer-sites && astro check && astro build && npm run seo:check",
"lint": "eslint .",
"preview": "astro preview",
"sync:agents": "node ./scripts/sync-agents.mjs",
"sync:agents:build": "node ./scripts/sync-agents.mjs --allow-stale-output",
"sync:agents:dev": "node ./scripts/sync-agents.mjs --allow-stale-output",
"sync:agents:update-source": "git submodule update --init --remote",
"sync:footer-sites": "node ./scripts/fetch-sites-snapshot.mjs",
"seo:check": "node ./scripts/check-seo.mjs",
"test": "npm run prepare:i18n && vitest run",
"sync:agent-templates": "node ./scripts/generate-agent-templates.mjs",
"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": "npm run i18n:audit && npm run i18n:doctor && npm run prepare:i18n && node scripts/generate-i18n-resources.mjs --check && vitest run scripts/__tests__/generate-i18n-resources.test.mjs src/components/site/site-links.test.ts"
},
"dependencies": {
"@astrojs/react": "^4.4.0",
"@fontsource-variable/inter": "^5.2.8",
"@tailwindcss/vite": "^4.2.2",
"astro": "^5.14.6",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"tailwindcss": "^4.2.2"
},
"devDependencies": {
"@astrojs/check": "^0.9.8",
"@eslint/js": "^9.39.1",
"@hagicode/hagi18n": "^0.1.1",
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@types/react-dom": "^19.2.3",
"eslint": "^9.39.1",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"js-yaml": "^4.1.1",
"jsdom": "^29.0.1",
"typescript": "~5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "^8.0.2",
"vitest": "^4.1.1"
}
}