-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
132 lines (132 loc) · 4.07 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
{
"name": "vpx-js",
"version": "1.3.4",
"description": "Visual Pinball for Node.js and the Browser",
"author": "freezy <freezy@vpdb.io>",
"contributors": [
"Jason Millard <jsm174@gmail.com>",
"Michael Vogt <michael@neeo.com>"
],
"repository": {
"type": "git",
"url": "https://github.com/vpdb/vpx-js"
},
"license": "GPL-2.0",
"main": "dist/cjs/lib/index.js",
"module": "dist/esm/lib/index.js",
"types": "dist/esm/lib/index.d.ts",
"files": [
"dist/esm/bin/**",
"dist/esm/lib/**",
"dist/esm/res/**",
"dist/cjs/bin/**",
"dist/cjs/lib/**",
"dist/cjs/res/**"
],
"bin": {
"vbs2js": "./dist/cjs/bin/vbs2js.js",
"vpt2glb": "./dist/cjs/bin/vpt2glb.js",
"vptscript": "./dist/cjs/bin/vptscript.js"
},
"browser": {
"./dist/esm/lib/refs.node.js": "./dist/esm/lib/refs.browser.js"
},
"scripts": {
"build": "npm run build:pre && npm run build:esm && npm run build:cjs && npm run build:declarations && npm run build:cp",
"build:esm": "tsc --module es2015 --outDir ./dist/esm",
"build:cjs": "tsc --module commonjs --outDir ./dist/cjs",
"build:declarations": "tsc --module es2015 --outDir ./dist/esm --declaration true --allowJs false",
"build:watch": "npm run build:pre && npm run build:cp && tsc --watch --module es2015 --outDir ./dist/esm",
"build:watch:cjs": "npm run build:pre && npm run build:cp && tsc --watch --module commonjs --outDir ./dist/cjs",
"build:cp": "cp -r res dist/esm && cp -r res dist/cjs && cp lib/scripting/grammar/grammar.bnf dist/cjs/lib/scripting/grammar && cp lib/scripting/grammar/grammar.bnf dist/esm/lib/scripting/grammar",
"build:pre": "rimraf dist && mkdirp dist/esm/lib/scripting/grammar && mkdirp dist/cjs/lib/scripting/grammar && node build/write-info.js && node build/compile-rules.js",
"lint": "tslint --format stylish --project ./tsconfig.json --config ./lib/tslint.json",
"test": "node build/compile-rules.js && tsc && cross-env TS_NODE_TRANSPILE_ONLY=true nyc mocha --config test/mocha.ts.json \"lib/**/*.spec.ts\"",
"test:watch": "npm run build:pre && npm run build:cp && tsc-watch --module commonjs --outDir ./dist/cjs --onFirstSuccess \"mocha --config test/mocha.js.json dist/cjs/lib/**/*.spec.js\"",
"test:watch:debug": "npm run build:pre && npm run build:cp && tsc-watch --module commonjs --outDir ./dist/cjs --onFirstSuccess \"mocha --config test/mocha.js.json --inspect dist/cjs/lib/**/*.spec.js\""
},
"dependencies": {
"buffer": "^6.0.2",
"dash-ast": "^2.0.0",
"ebnf": "^1.9.0",
"es6-promise-pool": "^2.5.0",
"escodegen": "^1.12.0",
"escope": "^3.6.0",
"estraverse": "^5.0.0",
"gltf-pipeline": "github:freezy/gltf-pipeline#hotfix/dedupe",
"gm": "^1.23.1",
"microtime": "3.0.0",
"moo": "^0.5.1",
"pngquant": "^3.1.0",
"sharp": "^0.26.2",
"text-encoding": "^0.7.0",
"three": "^0.112.1",
"wpc-emu": "0.34.5"
},
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/escodegen": "0.0.6",
"@types/estraverse": "0.0.6",
"@types/estree": "0.0.42",
"@types/gm": "^1.18.9",
"@types/microtime": "2.1.0",
"@types/mocha": "^8.0.4",
"@types/moo": "0.5.3",
"@types/nearley": "2.11.1",
"@types/node": "^14.14.7",
"@types/sharp": "^0.26.1",
"@types/sinon": "^9.0.8",
"@types/sinon-chai": "^3.2.5",
"chai": "4.2.0",
"cross-env": "7.0.2",
"esm": "3.2.25",
"looks-same": "7.2.3",
"mkdirp": "1.0.4",
"mocha": "^8.2.1",
"nock": "^13.0.5",
"node-fetch": "^2.6.1",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "^9.2.1",
"sinon-chai": "3.5.0",
"ts-node": "8.10.2",
"tsc-watch": "4.2.8",
"tslint": "5.20.1",
"typescript": "3.9.5"
},
"bugs": {
"url": "https://github.com/vpdb/vpx-js/issues"
},
"homepage": "https://github.com/vpdb/vpx-js#readme",
"keywords": [
"pinball",
"visual pinball",
"vp10",
"vpx",
"glb",
"gltf"
],
"nyc": {
"require": [
"ts-node/register"
],
"exclude": [
"res/**",
"bin/**",
"test/**",
"lib/**/*.spec.ts",
"lib/gltf/gltf-exporter.ts",
"lib/util/logger.ts",
"lib/render/threejs/vendor/**"
],
"extension": [
".ts"
],
"reporter": [
"lcov",
"text-summary"
],
"sourceMap": true,
"instrument": true
}
}