forked from playcanvas/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
123 lines (123 loc) · 3.75 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
{
"name": "playcanvas",
"version": "1.54.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.mjs",
"types": "build/playcanvas.d.ts",
"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",
"opentype": "readonly",
"pc": "readonly",
"TWEEN": "readonly",
"webkitAudioContext": "readonly",
"XRRay": "readonly",
"XRWebGLLayer": "readonly"
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
}
},
"eslintIgnore": [
"examples/lib/*",
"scripts/textmesh/earcut.min.js",
"scripts/textmesh/opentype.min.js",
"src/polyfill/*",
"scripts/parsers/vox-parser.js",
"scripts/spine/playcanvas-spine.3.8.js"
],
"files": [
"build/playcanvas.js",
"build/playcanvas.min.js",
"build/playcanvas.mjs",
"build/playcanvas.dbg.js",
"build/playcanvas.prf.js",
"build/playcanvas.d.ts",
"build/playcanvas-extras.js",
"scripts",
"LICENSE",
"package.json",
"README.md",
"README-zh.md"
],
"devDependencies": {
"@babel/core": "^7.17.8",
"@babel/eslint-parser": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@playcanvas/canvas-mock": "^1.0.1",
"@playcanvas/eslint-config": "^1.1.1",
"@playcanvas/jsdoc-template": "^1.0.24",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-strip": "^2.1.0",
"@rollup/pluginutils": "^4.2.0",
"c8": "^7.10.0",
"chai": "^4.3.6",
"eslint": "^8.11.0",
"jsdoc": "^3.6.10",
"jsdoc-tsimport-plugin": "^1.0.5",
"karma": "^6.3.17",
"karma-chrome-launcher": "^3.1.1",
"karma-mocha": "2.0.1",
"karma-spec-reporter": "^0.0.33",
"mocha": "^9.2.2",
"rollup": "^2.70.1",
"rollup-plugin-dts": "^4.2.0",
"rollup-plugin-jscc": "2.0.0",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-visualizer": "^5.6.0",
"serve": "^13.0.2",
"sinon": "^13.0.1",
"typescript": "^4.6.2",
"xhr2": "^0.2.1"
},
"scripts": {
"build": "rollup -c",
"build:debug": "rollup -c --environment target:debug",
"build:dts": "tsc src/index.js --outDir types --allowJs --declaration --emitDeclarationOnly",
"build:es5": "rollup -c --environment target:es5",
"build:es6": "rollup -c --environment target:es6",
"build:profiler": "rollup -c --environment target:profiler",
"build:treemap": "npm run build:es5 -- --environment treemap",
"build:types": "npm run build:dts && node types-fixup.mjs && rollup -c --environment target:types && node types-undollar.mjs",
"build:sourcemaps": "npm run build -- -m",
"build:publish": "npm run build && npm run build:types",
"watch:debug": "npm run build:debug -- -w",
"watch:es5": "npm run build:es5 -- -w",
"watch:es6": "npm run build:es6 -- -w",
"watch:profiler": "npm run build:profiler -- -w",
"docs": "jsdoc -c conf-api.json",
"lint": "eslint --ext .js,.mjs extras scripts src test rollup.config.js",
"serve": "serve build -l 51000",
"test": "mocha --recursive --require test/fixtures.mjs",
"test:coverage": "c8 npm test",
"test:karma": "karma start tests/karma.conf.js -- --single-run --release",
"test:types": "tsc --pretty false build/playcanvas.d.ts"
}
}