-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 3.2 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 3.2 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
{
"name": "townbox",
"version": "0.1.0",
"description": "City builder in javascript using Phaser 4 engine",
"author": "Mauricio Fernandes",
"license": "MIT",
"scripts": {
"copy-images": "cross-env cpy ./src/img/sprites/**/*.* ./dist/sprites/ --watch",
"copy-images-prod": "cross-env cpy ./src/img/sprites/**/*.* ./bin/sprites/",
"copy-history": "tsx scripts/copyLatestHistory.ts",
"build-dev": "cross-env parcel watch ./src/html/index.html --dist-dir ./dist",
"build-prod": "cross-env parcel build ./src/html/index.html --dist-dir ./bin",
"postbuild-prod": "npm run copy-images-prod && tsx scripts/copyLatestHistory.ts bin",
"serve-dev": "cross-env browser-sync start --server ./dist --files ./dist",
"dev": "npm run copy-history && concurrently 'npm:copy-images' 'npm:build-dev' 'npm:serve-dev'",
"package": "npm run build-prod",
"test": "jest",
"test:coverage": "jest --coverage",
"test:integration": "playwright test --project=chromium",
"test:integration:coverage": "cross-env COVERAGE=1 playwright test --project=chromium",
"test:integration:report": "playwright show-report",
"generate-scenarios": "playwright test --project=fixtures",
"validate-data": "jest --selectProjects data",
"typecheck": "tsc --noEmit -p tsconfig.json",
"lint": "npm run lint:md && npm run lint:js",
"lint:js": "eslint . --max-warnings 0",
"lint:md": "markdownlint-cli2",
"coverage-gate": "node scripts/coverage-gate.mjs",
"docs:sim": "UPDATE_SIM_DOCS=1 jest test/util/simulationDocs.test.ts",
"docs:events": "UPDATE_EVENT_DOCS=1 jest test/events/eventClassification.test.ts",
"generate-history": "cross-env NODE_OPTIONS=--max-old-space-size=16384 tsx scripts/generateHistoryAsset.ts",
"decode-person": "tsx scripts/decodePersonHistory.ts"
},
"keywords": [
"game",
"phaser4",
"html5",
"city builder",
"top down",
"canvas",
"simulation",
"sim city",
"2D"
],
"dependencies": {
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@faker-js/faker": "^8.4.1",
"@mdi/js": "^7.4.47",
"@mdi/react": "^1.6.1",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"d3": "^7.9.0",
"pako": "^2.2.0",
"phaser": "^4.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-rnd": "^10.4.11",
"uuid": "^10.0.0"
},
"devDependencies": {
"@eslint/js": "^9.39.5",
"@playwright/test": "^1.61.1",
"@types/d3": "^7.4.3",
"@types/jest": "^29.5.14",
"@types/node": "^20.19.43",
"@types/pako": "^2.0.4",
"@types/uuid": "^10.0.0",
"browser-sync": "^3.0.2",
"buffer": "^6.0.3",
"concurrently": "^8.2.2",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"eslint": "^9.39.5",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.7.0",
"istanbul-lib-coverage": "^3.2.2",
"jest": "^30.0.0",
"markdownlint-cli2": "^0.23.0",
"parcel": "^2.12.0",
"process": "^0.11.10",
"ts-jest": "^29.4.11",
"tsx": "^4.23.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.63.0"
}
}