forked from playcanvas/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
162 lines (162 loc) · 4.72 KB
/
package.json
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
{
"name": "playcanvas",
"version": "1.71.0-dev",
"author": "PlayCanvas <[email protected]>",
"homepage": "https://playcanvas.com",
"description": "PlayCanvas WebGL game engine",
"keywords": [
"3D",
"2D",
"VR",
"WebGL",
"WebGL2",
"game",
"engine",
"HTML5",
"browser",
"typings"
],
"license": "MIT",
"main": "build/playcanvas.js",
"module": "build/playcanvas/src/index.js",
"types": "build/playcanvas.d.ts",
"exports": {
".": {
"import": "./build/playcanvas/src/index.js",
"require": "./build/playcanvas.js"
},
"./build/*": "./build/*"
},
"sideEffects": false,
"type": "module",
"bugs": {
"url": "https://github.com/playcanvas/engine/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/playcanvas/engine.git"
},
"eslintConfig": {
"extends": "@playcanvas/eslint-config",
"globals": {
"Ammo": "readonly",
"earcut": "readonly",
"glslang": "readonly",
"GPUBufferUsage": "readonly",
"GPUColorWrite": "readonly",
"GPUMapMode": "readonly",
"GPUShaderStage": "readonly",
"GPUTextureUsage": "readonly",
"opentype": "readonly",
"pc": "readonly",
"TWEEN": "readonly",
"twgsl": "readonly",
"webkitAudioContext": "readonly",
"XRRay": "readonly",
"XRRigidTransform": "readonly",
"XRWebGLLayer": "readonly"
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
},
"rules": {
"jsdoc/check-tag-names": [
"error",
{
"definedTags": [
"category"
]
}
]
}
},
"eslintIgnore": [
"examples/lib/*",
"scripts/textmesh/earcut.min.js",
"scripts/textmesh/opentype.min.js",
"src/polyfill/*",
"scripts/spine/playcanvas-spine.3.8.js",
"scripts/spine/playcanvas-spine.3.8.mjs"
],
"files": [
"build/playcanvas*",
"build/playcanvas*/*",
"scripts",
"README*.md"
],
"dependencies": {
"@types/webxr": "^0.5.15",
"@webgpu/types": "^0.1.40"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/eslint-parser": "^7.24.1",
"@babel/preset-env": "^7.24.4",
"@playcanvas/canvas-mock": "^1.0.1",
"@playcanvas/eslint-config": "^1.7.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-strip": "^3.0.4",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/pluginutils": "^5.1.0",
"c8": "^9.1.0",
"chai": "^5.1.0",
"eslint": "^8.57.0",
"fflate": "^0.8.2",
"global-jsdom": "^24.0.0",
"jsdom": "^24.0.0",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.2.0",
"karma-mocha": "^2.0.1",
"karma-sinon": "^1.0.5",
"karma-spec-reporter": "^0.0.36",
"mocha": "^10.4.0",
"publint": "^0.2.7",
"rollup": "^4.16.4",
"rollup-plugin-dts": "^6.0.2",
"rollup-plugin-jscc": "2.0.0",
"rollup-plugin-visualizer": "^5.12.0",
"serve": "^14.2.2",
"sinon": "^17.0.1",
"typedoc": "^0.25.13",
"typedoc-plugin-mdn-links": "^3.1.22",
"typescript": "^5.4.5",
"xhr2": "^0.2.1"
},
"scripts": {
"build": "node build.mjs",
"build:release": "npm run build target:release",
"build:debug": "npm run build target:debug",
"build:profiler": "npm run build target:profiler",
"build:types": "npm run build target:types",
"build:umd": "npm run build target:umd",
"build:esm": "npm run build target:esm",
"build:esm:release": "npm run build target:esm:release",
"build:esm:debug": "npm run build target:esm:debug",
"build:treemap": "npm run build target:umd treemap",
"build:treenet": "npm run build target:umd treenet",
"build:treesun": "npm run build target:umd treesun",
"build:sourcemaps": "npm run build -- -m",
"build:publish": "npm run build && npm run publint",
"watch": "npm run build -- -w",
"watch:release": "npm run build target:release -- -w",
"watch:debug": "npm run build target:debug -- -w",
"watch:profiler": "npm run build target:profiler -- -w",
"watch:umd": "npm run build target:umd -- -w",
"watch:esm": "npm run build target:esm -- -w",
"watch:esm:release": "npm run build target:esm:release -- -w",
"watch:esm:debug": "npm run build target:esm:debug -- -w",
"docs": "typedoc",
"lint": "eslint --ext .js,.mjs scripts src test utils rollup.config.mjs",
"publint": "publint",
"serve": "serve build -l 51000 --cors",
"test": "mocha --recursive --require test/fixtures.mjs",
"test:coverage": "c8 npm test",
"test:karma": "karma start tests/karma.conf.cjs -- --single-run",
"test:types": "tsc --pretty false build/playcanvas.d.ts"
},
"engines": {
"node": ">=18.0.0"
}
}