-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 4.85 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 4.85 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
{
"name": "@codexo/exojs",
"description": "A TypeScript-first browser 2D runtime for games and interactive apps.",
"version": "0.9.0",
"type": "module",
"workspaces": [
"site"
],
"files": [
"dist/esm/",
"dist/exo.esm.js",
"dist/exo.esm.js.map",
"README.md",
"CHANGELOG.md"
],
"main": "./dist/exo.esm.js",
"module": "./dist/esm/index.js",
"browser": "./dist/exo.esm.js",
"types": "./dist/esm/index.d.ts",
"sideEffects": [
"./dist/esm/rendering/sprite/Sprite.js"
],
"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"
},
"./debug": {
"types": "./dist/esm/debug/index.d.ts",
"import": "./dist/esm/debug/index.js",
"default": "./dist/esm/debug/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"bootstrap": "npm ci --ignore-scripts --no-audit --fund=false",
"clean": "rimraf dist",
"build": "npm run clean && tsx node_modules/rollup/dist/bin/rollup -c --environment EXOJS_ENV:production",
"build:dev": "npm run 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": "npm run build && npm run verify:exports && npm pack --dry-run --ignore-scripts --cache ./.npm-cache",
"sync:example-capabilities": "tsx ./scripts/sync-example-capabilities.ts",
"verify:release": "npm run typecheck && npm run lint:strict && npm run format:check && npm test && npm run verify:package",
"release": "tsx ./scripts/release.ts",
"release:notes": "tsx ./scripts/generate-release-notes.ts",
"prepack": "npm run build",
"typecheck": "tsc --noEmit",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.js\"",
"lint:fix": "eslint --fix \"src/**/*.ts\" \"test/**/*.ts\" \"examples/**/*.js\"",
"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": "jest",
"test:serial": "jest --runInBand",
"test:watch": "jest --watch",
"site:install": "npm run bootstrap",
"site:build": "npm run build --workspace=@codexo/exojs-examples",
"site:build:api": "npm run build:api --workspace=@codexo/exojs-examples",
"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": "npm run perf:bench:rendering && npm run perf:bench:audio && npm run perf:bench:collision && npm run perf:bench:scene-graph && npm run 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": {
"@eslint/js": "^10.0.1",
"@rollup/plugin-commonjs": "^29.0.2",
"@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/jest": "^30.0.0",
"@types/jsdom": "^28.0.1",
"@types/node": "^25.6.0",
"@webgpu/types": "^0.1.69",
"eslint": "^10.2.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",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"jiti": "^2.7.0",
"prettier": "^3.8.3",
"rimraf": "^6.1.3",
"rollup": "^4.60.3",
"rollup-plugin-string": "^3.0.0",
"ts-jest": "^29.4.9",
"tslib": "^2.8.1",
"tsx": "^4.21.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.2"
}
}