-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathpackage.json
131 lines (131 loc) · 3.88 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
{
"name": "playcanvas",
"version": "2.5.0-dev",
"author": "PlayCanvas <[email protected]>",
"homepage": "https://playcanvas.com",
"description": "PlayCanvas WebGL game engine",
"keywords": [
"2d",
"3d",
"ar",
"engine",
"gaussian",
"game",
"gltf",
"html5",
"javascript",
"playcanvas",
"splatting",
"typescript",
"vr",
"webgl",
"webgl2",
"webgpu",
"webxr"
],
"license": "MIT",
"main": "build/playcanvas.js",
"module": "build/playcanvas/src/index.js",
"types": "build/playcanvas.d.ts",
"exports": {
".": {
"types": "./build/playcanvas.d.ts",
"import": "./build/playcanvas/src/index.js",
"require": "./build/playcanvas.js"
},
"./debug": {
"types": "./build/playcanvas.d.ts",
"import": "./build/playcanvas.dbg/src/index.js",
"require": "./build/playcanvas.dbg.js"
},
"./profiler": {
"types": "./build/playcanvas.d.ts",
"import": "./build/playcanvas.prf/src/index.js",
"require": "./build/playcanvas.prf.js"
},
"./build/*": "./build/*",
"./scripts/*": "./scripts/*"
},
"sideEffects": [
"./build/playcanvas/src/deprecated/deprecated.js"
],
"type": "module",
"bugs": {
"url": "https://github.com/playcanvas/engine/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/playcanvas/engine.git"
},
"files": [
"build/playcanvas*",
"build/playcanvas*/*",
"scripts",
"README*.md"
],
"dependencies": {
"@types/webxr": "^0.5.16",
"@webgpu/types": "^0.1.52"
},
"devDependencies": {
"@playcanvas/eslint-config": "2.0.8",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-strip": "3.0.4",
"@rollup/plugin-swc": "0.4.0",
"@rollup/plugin-terser": "0.4.4",
"@rollup/pluginutils": "5.1.4",
"@swc/core": "1.10.7",
"@types/node": "22.10.5",
"c8": "10.1.3",
"canvas": "3.0.1",
"chai": "5.1.2",
"eslint": "9.17.0",
"fflate": "0.8.2",
"globals": "15.14.0",
"jsdom": "26.0.0",
"mocha": "11.0.1",
"publint": "0.3.0",
"rollup": "4.30.1",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-jscc": "2.0.0",
"rollup-plugin-visualizer": "5.14.0",
"serve": "14.2.4",
"sinon": "19.0.2",
"typedoc": "0.27.6",
"typedoc-plugin-mdn-links": "4.0.7",
"typescript": "5.7.3"
},
"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",
"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 scripts src test utils build.mjs eslint.config.mjs rollup.config.mjs",
"publint": "publint --level error",
"serve": "serve build -l 51000 --cors",
"test": "mocha --ignore 'test/assets/scripts/**' --recursive --require test/fixtures.mjs --timeout 5000",
"test:coverage": "c8 npm test",
"test:types": "tsc --pretty false build/playcanvas.d.ts"
},
"engines": {
"node": ">=18.0.0"
}
}