Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
110 lines (110 loc) · 6.34 KB
/
Copy pathpackage.json
File metadata and controls
110 lines (110 loc) · 6.34 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
{
"name": "babylon-lite-workspace",
"private": true,
"license": "Apache-2.0",
"packageManager": "pnpm@11.28.11",
"engines": {
"node": "^22.13.0 || ^24.0.0 || >=26.0.0"
},
"scripts": {
"dev": "pnpm --filter @babylon-lite/lab dev",
"dev:playground": "pnpm --filter @babylon-lite/playground dev",
"dev:playground:watch": "pnpm --filter @babylon-lite/playground dev:watch",
"build:playground": "pnpm --filter @babylon-lite/playground build",
"dev:lab": "pnpm build:bundle-scenes && tsx scripts/build-bundle-demos.ts && pnpm --filter @babylon-lite/lab dev",
"dev:lab:https": "pnpm build:bundle-scenes && tsx scripts/build-bundle-demos.ts && pnpm --filter @babylon-lite/lab dev:https",
"build": "pnpm --filter babylon-lite build",
"build:lib": "pnpm --filter babylon-lite build:lib",
"build:gl": "pnpm --filter babylon-lite-gl build",
"build:lab-site": "tsx scripts/build-lab-site.ts",
"build:pages-site": "tsx scripts/build-pages-site.ts",
"build:bundle-scenes": "pnpm build:lib && tsx scripts/build-bundle-scenes.ts",
"build:bundle-manifest:device": "pnpm build:lib && tsx scripts/build-bundle-scenes.ts --software --scenes scene113,scene114,scene115",
"build:bundle-scenes:gl": "tsx scripts/build-bundle-scenes-gl.ts",
"build:bundle-demos": "tsx scripts/build-bundle-demos.ts",
"build:bundle-demo": "tsx scripts/build-bundle-demo.ts",
"build:bundle-master-info": "tsx scripts/build-master-bundle-info.ts",
"fetch:freedoom": "tsx scripts/fetch-freedoom.ts",
"fetch:librequake": "tsx scripts/fetch-librequake.ts",
"fetch:voxelpack": "tsx scripts/fetch-voxelpack.ts",
"fetch:freeciv": "tsx scripts/fetch-freeciv.ts",
"fetch:platformer": "tsx scripts/fetch-platformer.ts",
"fetch:littlest-tokyo": "tsx scripts/fetch-littlest-tokyo.ts",
"fetch:flight-helmet": "tsx scripts/fetch-flight-helmet.ts",
"fetch:racer": "tsx scripts/fetch-racer.ts",
"test": "pnpm build:bundle-scenes && pnpm test:parity",
"test:watch": "vitest --project unit",
"test:unit": "vitest run --project unit",
"test:unit:gl": "vitest run --project gl-unit",
"test:build:gl": "vitest run --project gl-build",
"test:integration:gl": "playwright test tests/gl/integration",
"test:integration-cloud": "playwright test --config config/playwright.integration-cloud.config.ts",
"test:build": "vitest run --project build",
"test:no-webgpu": "vitest run --project no-webgpu",
"test:integration": "vitest run --project lite-integration",
"test:audio-offline": "vitest run --project audio-offline",
"test:bundle-size": "npx playwright test tests/lite/parity/bundle-size.spec.ts",
"test:perf": "npx playwright test --config playwright.perf.config.ts",
"test:parity": "npx playwright test tests/lite/parity",
"test:parity:gl": "npx playwright test tests/gl/parity",
"test:perf:gl": "npx playwright test --config playwright.perf.gl.config.ts tests/gl/perf/gl-perf-raf.spec.ts",
"test:all": "npx playwright test && npx playwright test --config playwright.perf.config.ts",
"test:perf-regression": "npx playwright test --config playwright.perf.config.ts tests/lite/perf/perf-regression.spec.ts",
"test:perf-regression:gl": "npx playwright test --config playwright.perf.gl.config.ts tests/gl/perf/gl-perf-regression.spec.ts",
"test:parity-cloud": "playwright test --config config/playwright.parity-cloud.config.ts",
"test:perf-cloud": "tsx scripts/run-browserstack.ts playwright test --config config/playwright.perf-cloud.config.ts tests/lite/perf/perf-regression.spec.ts",
"validate:release-markers": "tsx scripts/validate-pr-release-markers.ts",
"gen:changelog": "tsx scripts/generate-changelog.ts",
"report:api-changes": "tsx scripts/report-api-changes.ts",
"gen:feature-doc": "tsx scripts/gen-feature-comparison.ts",
"gen:feature-doc:check": "tsx scripts/gen-feature-comparison.ts --check",
"build:perf-baseline": "tsx scripts/build-perf-baseline.ts",
"lint": "eslint . && tsc -p packages/babylon-lite/tsconfig.json --noEmit && tsc -p packages/babylon-lite-gl/tsconfig.json --noEmit && tsc -p lab/tsconfig.typecheck.json --noEmit && tsc -p playground/tsconfig.json --noEmit && tsc -p tests/lite/tsconfig.json --noEmit && tsc -p tests/gl/tsconfig.json --noEmit",
"lint:fix": "eslint . --fix",
"typecheck:lab": "tsc -p lab/tsconfig.typecheck.json --noEmit",
"typecheck:tests": "tsc -p tests/lite/tsconfig.json --noEmit",
"format": "prettier --write \"packages/**/src/**/*.ts\" \"tests/lite/**/*.ts\" \"config/**/*.ts\" \"*.config.ts\" \"**/*.md\"",
"format:check": "prettier --check \"packages/**/src/**/*.ts\" \"tests/lite/**/*.ts\" \"config/**/*.ts\" \"*.config.ts\" \"**/*.md\"",
"analyze-bundle": "tsx scripts/analyze-bundle.ts",
"coverage:scene": "tsx scripts/coverage-scene.ts",
"select:affected-scenes": "tsx scripts/select-affected-scenes.ts",
"docs": "typedoc",
"docs:check": "typedoc --emit none --treatValidationWarningsAsErrors"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@microsoft/api-extractor": "^7.60.1",
"@playwright/test": "^1.65.0",
"@types/node": "^26.6.6",
"@types/pngjs": "^6.0.5",
"@types/webxr": "^0.5.24",
"@webgpu/types": "^0.1.74",
"browserstack-local": "^1.5.16",
"browserstack-node-sdk": "^1.78.0",
"dotenv": "^18.0.10",
"esbuild": "^0.28.2",
"eslint": "^10.14.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.7",
"eslint-plugin-tsdoc": "^0.5.4",
"fflate": "^0.8.3",
"globals": "^17.14.0",
"magic-string": "1.4.5",
"miniray": "^0.3.1",
"node-web-audio-api": "^2.2.0",
"pngjs": "^7.0.0",
"rollup": "4.68.1",
"rollup-plugin-visualizer": "^7.1.3",
"terser": "5.51.2",
"tsx": "^4.23.15",
"typedoc": "^0.28.20",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.1",
"vite": "^8.3.7",
"vitest": "^5.1.0",
"webpack": "^5.112.2"
},
"dependencies": {
"prettier": "^3.9.10"
}
}