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
136 lines (136 loc) · 4.24 KB
/
Copy pathpackage.json
File metadata and controls
136 lines (136 loc) · 4.24 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "playcanvas",
"version": "1.57.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/index.js",
"types": "build/playcanvas.d.ts",
"sideEffects": false,
"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",
"GPUShaderStage": "readonly",
"GPUTextureUsage": "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.dbg.js",
"build/playcanvas.prf.js",
"build/playcanvas.mjs",
"build/playcanvas.min.mjs",
"build/playcanvas.dbg.mjs",
"build/playcanvas.prf.mjs",
"build/playcanvas.d.ts",
"build/playcanvas-extras.js",
"scripts",
"LICENSE",
"package.json",
"README.md",
"README-zh.md"
],
"devDependencies": {
"@babel/core": "^7.19.0",
"@babel/eslint-parser": "^7.18.9",
"@babel/preset-env": "^7.19.0",
"@playcanvas/canvas-mock": "^1.0.1",
"@playcanvas/eslint-config": "^1.2.0",
"@playcanvas/jsdoc-template": "^1.0.27",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-strip": "^2.1.0",
"@rollup/pluginutils": "^4.2.1",
"c8": "^7.12.0",
"chai": "^4.3.6",
"eslint": "^8.23.1",
"fflate": "^0.7.3",
"jsdoc": "^3.6.11",
"jsdoc-tsimport-plugin": "^1.0.5",
"karma": "^6.4.0",
"karma-chrome-launcher": "^3.1.1",
"karma-mocha": "2.0.1",
"karma-spec-reporter": "^0.0.34",
"mocha": "^10.0.0",
"rollup": "^2.79.0",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-jscc": "2.0.0",
"rollup-plugin-terser": "7.0.2",
"rollup-plugin-visualizer": "^5.8.1",
"serve": "^14.0.1",
"sinon": "^14.0.0",
"typescript": "^4.8.3",
"xhr2": "^0.2.1"
},
"scripts": {
"build": "rollup -c",
"build:release": "rollup -c --environment target:release",
"build:debug": "rollup -c --environment target:debug",
"build:dts": "tsc src/index.js --outDir types --allowJs --declaration --emitDeclarationOnly",
"build:extras": "rollup -c --environment target:extras",
"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": "npm run build -- -w",
"watch:release": "npm run build:release -- -w",
"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"
}
}