-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 6.35 KB
/
Copy pathpackage.json
File metadata and controls
132 lines (132 loc) · 6.35 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "template-react-ts",
"description": "A Phaser TypeScript project template that demonstrates React communication and uses Vite for bundling.",
"version": "1.1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/phaserjs/template-react-ts.git"
},
"author": "Phaser Studio <support@phaser.io> (https://phaser.io/)",
"license": "MIT",
"licenseUrl": "http://www.opensource.org/licenses/mit-license.php",
"bugs": {
"url": "https://github.com/phaserjs/template-react-ts/issues"
},
"homepage": "https://github.com/phaserjs/template-react-ts#readme",
"engines": {
"node": "26.x"
},
"keywords": [
"phaser",
"phaser3",
"react",
"vite",
"typescript"
],
"scripts": {
"dev": "node log.js dev & vite --config vite/config.dev.mjs",
"dev:cloud": "node log.js dev & concurrently -k -n API,WEB -c green,blue \"npm run server:dev\" \"vite --config vite/config.dev.mjs\"",
"build": "node log.js build & vite build --config vite/config.prod.mjs",
"dev-nolog": "vite --config vite/config.dev.mjs",
"build-nolog": "vite build --config vite/config.prod.mjs",
"docs:generate": "node --import tsx scripts/docs/generate-workflow-reference.mjs",
"docs:dev": "vitepress dev docs",
"docs:build": "npm run docs:generate && vitepress build docs",
"docs:preview": "vitepress preview docs",
"docs:screenshots:storybook": "node --import tsx scripts/docs/capture-storybook-screenshots.mjs",
"docs:screenshots:app": "node --import tsx scripts/docs/capture-docs-screenshots.mjs",
"docs:screenshots": "npm run docs:screenshots:storybook && npm run docs:screenshots:app",
"docs:stage": "node scripts/docs/stage-docs-for-pages.mjs",
"pages:root": "node scripts/pages/create-root-index.mjs",
"pages:verify": "node scripts/pages/verify-pages-artifact.mjs",
"server:dev": "node --import tsx server/src/index.ts",
"server:start": "node --import tsx server/src/index.ts",
"prisma:generate": "prisma generate",
"prisma:migrate:dev": "prisma migrate dev",
"prisma:migrate:deploy": "prisma migrate deploy",
"cloud:clear-db": "node --import tsx scripts/clear-cloud-db.ts",
"cloud:clear-db-content": "node --import tsx scripts/clear-cloud-db.ts",
"cloud:migrate-games": "node --import tsx scripts/migrate-cloud-games-to-project.ts",
"cloud:verify-games": "node --import tsx scripts/migrate-cloud-games-to-project.ts --verify-only",
"railway:start": "npm run prisma:migrate:deploy && npm run server:start",
"postinstall": "prisma generate",
"test": "vitest run",
"test:watch": "vitest",
"test:unit": "vitest run --config vitest.unit.config.mts",
"test:unit:node": "vitest run --config vitest.unit.node.config.mts",
"test:unit:jsdom": "vitest run --config vitest.unit.jsdom.config.mts",
"test:persistence:unit": "vitest run tests/util/persistenceDebug.test.ts tests/editor/projectPersistence.test.ts tests/editor/editor-store.test.ts tests/editor/editor-store-history.test.ts tests/editor/editor-store-reset-and-clear.test.ts",
"test:persistence:e2e": "node scripts/playwright-no-deprecation.cjs test --project=chromium tests/e2e/reload-recovers-latest-active-snapshot.spec.ts tests/e2e/cloud-workspace-conflict.spec.ts tests/e2e/cloud-reload-preserves-latest-head.spec.ts",
"test:persistence": "npm run test:persistence:unit && npm run test:persistence:e2e",
"test:stories": "vitest run tests/storybook",
"test:e2e": "node scripts/playwright-no-deprecation.cjs test",
"test:e2e:webkit": "PW_PROJECTS=webkit PLAYWRIGHT_HOST_PLATFORM_OVERRIDE=ubuntu24.04-x64 LD_LIBRARY_PATH=$(pwd)/.playwright-lib-compat:$HOME/.cache/ms-playwright/webkit-2287/minibrowser-wpe/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} node scripts/playwright-no-deprecation.cjs test",
"test:e2e:webkit:docker": "bash scripts/test-e2e-webkit-docker.sh",
"test:e2e:ui": "node scripts/playwright-no-deprecation.cjs test --ui",
"ci:checks": "node --import tsx scripts/inspect-gh-actions-failures.ts",
"ci:checks:json": "node --import tsx scripts/inspect-gh-actions-failures.ts --json",
"test:all": "npm run test:unit && npm run test:e2e",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"invite:create": "node --import tsx scripts/create-invite.ts",
"invite:revoke": "node --import tsx scripts/revoke-invite.ts"
},
"dependencies": {
"@prisma/adapter-pg": "^7.8.0",
"@prisma/client": "^7.8.0",
"argon2": "^0.44.0",
"cookie-parser": "^1.4.7",
"express": "^5.1.0",
"express-rate-limit": "^8.5.2",
"helmet": "^8.2.0",
"ip-address": "^10.2.0",
"pg": "^8.22.0",
"phaser": "^4.2.0",
"react": "^19.2.6",
"react-dom": "^19.2.7",
"tsx": "^4.23.0",
"yaml": "^2.9.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.61.1",
"@storybook/react-vite": "^10.4.6",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/cookie-parser": "^1.4.9",
"@types/node": "^26.1.1",
"@types/pg": "^8.15.5",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/supertest": "^7.2.0",
"@vitejs/plugin-react": "^6.0.3",
"concurrently": "^10.0.3",
"eslint": "^10.6.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.3",
"globals": "^17.7.0",
"jsdom": "^29.1.1",
"msw": "^2.15.0",
"msw-storybook-addon": "^2.0.7",
"prisma": "^7.8.0",
"storybook": "^10.4.6",
"supertest": "^7.1.4",
"terser": "^5.49.0",
"typescript": "~6.0.3",
"typescript-eslint": "^8.64.0",
"vite": "^8.1.4",
"vitepress": "1.6.4",
"vitest": "^4.1.10"
},
"overrides": {
"@babel/core": "7.29.6",
"@hono/node-server": "1.19.13",
"@vitejs/plugin-vue": "6.0.7",
"esbuild": "0.28.1",
"express-rate-limit": {
"ip-address": "10.1.1"
},
"vite": "$vite"
}
}