-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
68 lines (68 loc) · 2.04 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
{
"name": "voxels-scripting-bundler",
"version": "0.9.2",
"description": "",
"engines": {
"node": ">= 14"
},
"iframe": "dist/iframe_scripting_host.js",
"hosted": "dist/hosted_scripting_host.js",
"targets": {
"iframe": {
"source": "src/index.ts",
"outputFormat": "global",
"engines": {
"browsers": "chrome 80"
}
},
"hosted": {
"source": "src/index.ts",
"outputFormat": "global",
"engines": {
"browsers": "> 0.5%, last 2 versions, not dead"
}
}
},
"scripts": {
"build": "npm run build:iframe && npm run build:hosted",
"build:iframe": "npx parcel build --target iframe --no-scope-hoist",
"build:hosted": "npx parcel build --target hosted --no-optimize --no-scope-hoist",
"copy:voxels": "cp ./dist/iframe_scripting_host.js ../cryptovoxels/dist/scripting-host.js",
"copy:hosted": "cp ./dist/hosted_scripting_host.js ../grid/scripting-host.js",
"format": "prettier --write \"src/**/*.ts\"",
"docs": "typedoc --options typedoc.json --tsconfig tsconfig.json",
"test": "cross-env NODE_OPTIONS='--experimental-vm-modules' jest",
"coverage": "nyc -r lcov -e .ts -x \"*.test.ts\" npm run test"
},
"author": "",
"license": "ISC",
"dependencies": {
"@babylonjs/core": "^5.6.0",
"jest": "^28.1.0",
"lodash.throttle": "^4.1.1",
"ndarray": "1.0.18",
"node-fetch": "^2.6.7",
"parcel": "^2.5.0",
"tinyify": "^2.5.1",
"uuid": "3.3.2",
"ws": "7.4.6"
},
"devDependencies": {
"@babel/preset-env": "^7.17.10",
"@babel/preset-typescript": "^7.16.7",
"@parcel/validator-typescript": "^2.5.0",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.33",
"@types/node-fetch": "^2.6.1",
"@types/uuid": "^8.3.4",
"babel": "^6.23.0",
"cross-env": "^7.0.3",
"events": "^3.3.0",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"tape": "4.9.1",
"ts-node": "^10.7.0",
"typedoc": "^0.22.15",
"typescript": "^4.6.3"
}
}