-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
178 lines (178 loc) · 7.99 KB
/
Copy pathpackage.json
File metadata and controls
178 lines (178 loc) · 7.99 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "@codexo/exojs",
"description": "A TypeScript-first browser 2D runtime for games and interactive apps.",
"version": "0.13.0",
"type": "module",
"packageManager": "pnpm@11.4.0",
"files": [
"dist/esm/",
"dist/exo.esm.js",
"dist/exo.esm.js.map",
"dist/exo.debug.esm.js",
"dist/exo.debug.esm.js.map",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"main": "./dist/exo.esm.js",
"module": "./dist/esm/index.js",
"browser": "./dist/exo.esm.js",
"types": "./dist/esm/index.d.ts",
"sideEffects": false,
"keywords": [
"2d",
"browser",
"canvas",
"games",
"rendering",
"typescript",
"webgl2",
"webgpu"
],
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"import": "./dist/esm/index.js",
"default": "./dist/esm/index.js"
},
"./extensions": {
"types": "./dist/esm/extensions/index.d.ts",
"import": "./dist/esm/extensions/index.js",
"default": "./dist/esm/extensions/index.js"
},
"./rendering": {
"types": "./dist/esm/rendering.d.ts",
"import": "./dist/esm/rendering.js",
"default": "./dist/esm/rendering.js"
},
"./debug": {
"types": "./dist/esm/debug/index.d.ts",
"import": "./dist/esm/debug/index.js",
"default": "./dist/esm/debug/index.js"
},
"./package.json": "./package.json"
},
"imports": {
"#*.vert": "./src/*.vert",
"#*.frag": "./src/*.frag",
"#*": {
"@codexo/source": "./src/*.ts",
"types": "./dist/esm/*.d.ts",
"default": "./dist/esm/*.js"
}
},
"scripts": {
"bootstrap": "pnpm install --frozen-lockfile --ignore-scripts",
"clean": "rimraf dist",
"build": "pnpm clean && tsx node_modules/rollup/dist/bin/rollup -c --environment EXOJS_ENV:production",
"build:dev": "pnpm clean && tsx node_modules/rollup/dist/bin/rollup -c --environment EXOJS_ENV:development",
"build:watch": "tsx node_modules/rollup/dist/bin/rollup -cw --environment EXOJS_ENV:development",
"verify:exports": "tsx ./scripts/verify-exports.ts",
"verify:package-policy": "tsx ./scripts/verify-package-policy.ts",
"verify:publint": "pnpm dlx publint@0.3.21 --strict . && pnpm --filter \"@codexo/exojs-particles\" --filter \"@codexo/exojs-tilemap\" --filter \"@codexo/exojs-tiled\" --filter \"@codexo/exojs-physics\" exec pnpm dlx publint@0.3.21 --strict .",
"verify:package": "pnpm build && pnpm verify:exports && pnpm pack",
"verify:lockstep": "tsx ./scripts/verify-lockstep-versions.ts",
"verify:release-matrix": "tsx ./scripts/verify-release-matrix.ts",
"verify:create-exo-app": "tsx ./scripts/verify-create-exo-app.ts",
"sync:example-capabilities": "tsx ./scripts/sync-example-capabilities.ts",
"verify:release": "pnpm verify:lockstep && pnpm typecheck && pnpm typecheck:guides && pnpm typecheck:examples && pnpm lint:strict && pnpm format:check && pnpm test && pnpm verify:package && pnpm verify:create-exo-app && pnpm site:build",
"release": "tsx ./scripts/release.ts",
"release:prepare": "tsx ./scripts/release/run.ts prepare",
"release:full-zip": "tsx ./scripts/release/run.ts full-zip",
"release:publish": "tsx ./scripts/release/run.ts publish",
"verify:external-consumers": "tsx ./scripts/release/external-consumers.ts",
"release:notes": "tsx ./scripts/generate-release-notes.ts",
"docs:api:generate": "pnpm site:build:api",
"docs:api:check": "tsx scripts/check-api-docs-sync.ts",
"typecheck": "tsc --noEmit",
"typecheck:examples": "tsc --noEmit -p tsconfig.examples.json",
"typecheck:guides": "tsx scripts/extract-guide-snippets.ts && tsc --noEmit -p tsconfig.guides.json",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.js\"",
"lint:fix": "eslint --fix \"src/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.js\"",
"lint:packages": "eslint \"packages/exojs-*/src/**/*.ts\" \"packages/exojs-*/test/**/*.ts\"",
"lint:all": "pnpm lint && pnpm lint:packages",
"lint:strict": "eslint --max-warnings=0 \"src/**/*.ts\"",
"lint:strict:fast": "eslint --cache --cache-location .cache/eslintcache --max-warnings=0 \"src/**/*.ts\"",
"lint:strict:fix": "eslint --fix --max-warnings=0 \"src/**/*.ts\"",
"lint:strict:fast:fix": "eslint --cache --cache-location .cache/eslintcache --fix --max-warnings=0 \"src/**/*.ts\"",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest run --project=exojs --project=exojs-particles --project=exojs-tilemap --project=exojs-tiled --project=exojs-physics --project=rendering-perf",
"test:core": "vitest run --project=exojs",
"test:coverage": "vitest run --coverage --project=exojs --project=exojs-particles --project=exojs-tilemap --project=exojs-tiled --project=exojs-physics --project=rendering-perf",
"test:watch": "vitest --project=exojs",
"test:browser": "pnpm run test:browser:webgl && pnpm run test:browser:webgpu && pnpm run test:browser:webgl:firefox && pnpm run test:browser:webgpu:firefox",
"test:browser:webgl": "vitest run --project=browser-webgl-chromium",
"test:browser:webgl:chromium": "pnpm run test:browser:webgl",
"test:browser:webgl:firefox": "vitest run --project=browser-webgl-firefox",
"test:browser:webgpu": "vitest run --project=browser-webgpu",
"test:browser:webgpu:chromium": "pnpm run test:browser:webgpu",
"test:browser:webgpu:firefox": "vitest run --project=browser-webgpu-firefox",
"bench": "vitest bench",
"bench:run": "vitest bench --run",
"site:install": "pnpm bootstrap",
"site:build": "pnpm --filter @codexo/exojs-examples build",
"site:build:api": "pnpm --filter @codexo/exojs-examples build:api",
"test:examples:smoke": "pnpm --filter @codexo/exojs-examples examples:smoke",
"perf:renderers": "tsx test/perf/rendering/run-sweep.ts full",
"perf:renderers:quick": "tsx test/perf/rendering/run-sweep.ts quick",
"perf:renderers:browser": "vitest run --project=browser-webgl-chromium webgl2-renderer-perf",
"perf:bench:rendering": "tsx test/perf/rendering-benchmark.ts",
"perf:bench:audio": "tsx test/perf/audio-benchmark.ts",
"perf:bench:collision": "tsx test/perf/collision-benchmark.ts",
"perf:bench:scene-graph": "tsx test/perf/scene-graph-benchmark.ts",
"perf:bench:interaction": "tsx test/perf/interaction-benchmark.ts",
"perf:bench:all": "pnpm perf:bench:rendering && pnpm perf:bench:audio && pnpm perf:bench:collision && pnpm perf:bench:scene-graph && pnpm perf:bench:interaction",
"perf:profile": "tsx test/perf/profile-benchmark.ts",
"perf:profile:gc": "node --expose-gc --import tsx/esm test/perf/profile-benchmark.ts",
"prepare": "husky",
"commit": "gitmoji -c"
},
"license": "MIT",
"publishConfig": {
"access": "public"
},
"homepage": "https://github.com/Exoridus/ExoJS",
"bugs": {
"url": "https://github.com/Exoridus/ExoJS/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Exoridus/ExoJS.git"
},
"devDependencies": {
"@codexo/exojs-config": "workspace:*",
"@eslint/js": "^10.0.1",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@types/css-font-loading-module": "0.0.14",
"@types/jsdom": "^28.0.1",
"@types/node": "^25.6.0",
"@vitest/browser": "^4.1.7",
"@vitest/browser-playwright": "^4.1.7",
"@vitest/coverage-istanbul": "^4.1.7",
"@webgpu/types": "^0.1.69",
"eslint": "~10.4.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-security": "^4.0.0",
"eslint-plugin-simple-import-sort": "^13.0.0",
"eslint-plugin-unicorn": "^64.0.0",
"eslint-plugin-unused-imports": "^4.4.1",
"gitmoji-cli": "^9.7.0",
"globals": "^17.5.0",
"husky": "^9.1.7",
"jiti": "^2.7.0",
"jsdom": "^29.1.1",
"playwright": "^1.50.0",
"prettier": "3.8.4",
"rimraf": "^6.1.3",
"rollup": "^4.60.3",
"rollup-plugin-string": "^3.0.0",
"tslib": "^2.8.1",
"tsx": "^4.21.0",
"typescript": "~6.0.3",
"typescript-eslint": "~8.60.0",
"vitest": "^4.1.7"
}
}