-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
package.json
138 lines (138 loc) · 4.18 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
{
"name": "playcanvas",
"version": "2.3.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.40"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/eslint-parser": "^7.25.1",
"@babel/preset-env": "^7.24.4",
"@playcanvas/eslint-config": "^2.0.2",
"@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": "^10.1.2",
"chai": "^5.1.0",
"eslint": "^9.10.0",
"fflate": "^0.8.2",
"global-jsdom": "^24.0.0",
"globals": "^15.9.0",
"jsdom": "^24.1.3",
"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": "^18.0.0",
"skia-canvas": "^1.0.2",
"typedoc": "^0.26.3",
"typedoc-plugin-mdn-links": "^3.2.2",
"typescript": "^5.5.3",
"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",
"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 --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"
}
}