forked from playcanvas/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.42 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 3.42 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
{
"name": "playcanvas",
"version": "1.52.0-dev",
"author": "PlayCanvas <support@playcanvas.com>",
"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": "types/index.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"
],
"files": [
"build/playcanvas.js",
"build/playcanvas.min.js",
"build/playcanvas.mjs",
"build/playcanvas.dbg.js",
"build/playcanvas.prf.js",
"build/playcanvas-extras.js",
"scripts",
"types",
"LICENSE",
"package.json",
"README.md",
"README-zh.md"
],
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/eslint-parser": "^7.16.5",
"@babel/preset-env": "^7.16.8",
"@playcanvas/canvas-mock": "^1.0.1",
"@playcanvas/eslint-config": "^1.0.16",
"@playcanvas/jsdoc-template": "^1.0.20",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-replace": "^3.0.1",
"@rollup/plugin-strip": "^2.1.0",
"@rollup/pluginutils": "^4.1.2",
"c8": "^7.10.0",
"chai": "4.3.4",
"eslint": "^8.6.0",
"jsdoc": "^3.6.7",
"jsdoc-tsimport-plugin": "^1.0.5",
"karma": "^6.3.11",
"karma-chrome-launcher": "3.1.0",
"karma-mocha": "2.0.1",
"karma-spec-reporter": "^0.0.33",
"mocha": "^9.1.4",
"rollup": "^2.64.0",
"rollup-plugin-jscc": "2.0.0",
"rollup-plugin-terser": "7.0.2",
"serve": "^13.0.2",
"sinon": "^12.0.1",
"typescript": "^4.5.4",
"xhr2": "^0.2.1"
},
"scripts": {
"build": "rollup -c",
"build:debug": "rollup -c --environment target:debug",
"build:es5": "rollup -c --environment target:es5",
"build:es5min": "rollup -c --environment target:es5min",
"build:es6": "rollup -c --environment target:es6",
"build:profiler": "rollup -c --environment target:profiler",
"docs": "jsdoc -c conf-api.json",
"watch:debug": "rollup -c -w --environment target:debug",
"watch:es5": "rollup -c -w --environment target:es5",
"watch:es5min": "rollup -c -w --environment target:es5min",
"watch:es6": "rollup -c -w --environment target:es6",
"watch:profiler": "rollup -c -w --environment target:profiler",
"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 run test",
"test:karma": "karma start tests/karma.conf.js -- --single-run --release",
"tsd": "tsc && node tsd.js",
"tsd:compile": "tsc --pretty false types/index.d.ts"
}
}