-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
104 lines (104 loc) · 3.74 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
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
99
100
101
102
103
104
{
"name": "wordplay",
"version": "0.13.3",
"scripts": {
"postinstall": "run-script-os",
"postinstall:default": "svelte-kit sync && cp .env.template .env",
"postinstall:windows": "svelte-kit sync && copy .env.template .env",
"check": "svelte-check --tsconfig ./tsconfig.json --watch .svelte-kit",
"lint": "eslint src",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"end2end": "npx playwright test",
"dev": "vite dev",
"emu": "npm run env && (cd functions && npm run build) && firebase emulators:start --project=demo-wordplay",
"env": "run-script-os",
"env:default": "cp .env.${GCLOUD_PROJECT:-template} .env",
"env:windows": "copy .env.template .env",
"build": "npm run env && vite build",
"preview": "vite preview",
"stage": "firebase use dev && firebase deploy",
"release": "firebase use prod && firebase deploy && firebase use dev",
"tutorial-schema": "npx ts-json-schema-generator --no-type-check --tsconfig tsconfig.json --path 'src/tutorial/Tutorial.ts' --type 'Tutorial' --out static/schemas/Tutorial.json",
"locale-schema": "npx ts-json-schema-generator --no-type-check --tsconfig tsconfig.json --path 'src/locale/LocaleText.ts' --type 'LocaleText' --out static/schemas/LocaleText.json",
"create-schemas": "npm run tutorial-schema && npm run locale-schema",
"verify-locales": "npx tsx src/util/verify-locales.ts",
"locales": "npm-watch verify-locales",
"schemas": "npm-watch create-schemas",
"merge": "git checkout main && git merge dev && git push origin main && git checkout dev"
},
"watch": {
"verify-locales": {
"patterns": [
"src/locale/en-US.json",
"static/locales",
"static/schemas",
"verify-locales.ts"
],
"extensions": "json,ts",
"quiet": true
},
"create-schemas": {
"patterns": [
"src/locale"
],
"extensions": "ts",
"quiet": true
}
},
"devDependencies": {
"@google-cloud/translate": "^8",
"@playwright/test": "^1",
"svelte": "^5",
"svelte-check": "^4",
"svelte-jester": "^5",
"svelte-preprocess": "^6.0",
"@sveltejs/adapter-static": "^3",
"@sveltejs/kit": "^2.12.0",
"@sveltejs/vite-plugin-svelte": "^5",
"@types/matter-js": "^0",
"@types/node": "^22",
"@types/uuid": "^10",
"@typescript-eslint/eslint-plugin": "^8",
"@typescript-eslint/parser": "^8",
"ajv": "^8",
"chalk": "^5",
"eslint": "^9",
"eslint-plugin-compat": "^6",
"eslint-plugin-import": "^2",
"eslint-plugin-svelte": "^2",
"npm-watch": "^0",
"prettier": "^3",
"prettier-plugin-svelte": "^3",
"run-script-os": "^1",
"ts-jest": "^29",
"ts-json-schema-generator": "^2",
"tslib": "^2",
"tsx": "^4",
"typescript": "^5",
"vite": "^6",
"vite-plugin-eslint": "^1",
"vitest": "^2"
},
"type": "module",
"dependencies": {
"@axe-core/playwright": "^4.10",
"colorjs.io": "^0.5.2",
"decimal.js": "^10",
"dexie": "^4.0",
"firebase": "^10",
"firebase-admin": "^12",
"firebase-functions": "^5",
"firebase-functions-test": "^3.3.0",
"graphemer": "^1.4.0",
"matter-js": "^0.20",
"pitchy": "^4.1.0",
"recoverable-random": "^1.0.5",
"uuid": "^11",
"zod": "^3.23.8"
},
"browserslist": [
"defaults",
"not op_mini all"
]
}