-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
33 lines (33 loc) · 1.22 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
{
"name": "gypsum-example",
"version": "0.3.5",
"description": "Example project for the Gypsum library",
"main": "js/bundle.js",
"scripts": {
"copy-worker": "shx cp node_modules/gypsum-mesh/dist/gypsum-manifold.worker.* deploy/",
"copy-manifold": "shx cp node_modules/manifold-3d/manifold.js deploy/ && shx cp node_modules/manifold-3d/manifold.wasm deploy/",
"build-bundle": "esbuild ./js/index.js --minify --sourcemap --bundle --format=esm --define:WL_EDITOR=false --outfile=\"deploy/gypsum-example-bundle.js\"",
"build": "npm run build-bundle && npm run copy-worker && npm run copy-manifold",
"dev": "npm run copy-worker && npm run copy-manifold && shx rm -f deploy/gypsum-example-bundle.js.map && esbuild ./js/bundle.js --watch --bundle --platform=browser --outfile=\"deploy/gypsum-example-bundle.js\""
},
"files": [
"assets",
"js",
"demo.png",
"gypsum-example.wlp"
],
"author": "Playko",
"license": "MIT",
"private": true,
"dependencies": {
"@wonderlandengine/components": "^1.0.3"
},
"devDependencies": {
"@wonderlandengine/api": "^1.1.5",
"esbuild": "^0.17.19",
"gypsum-mesh": "^0.3.5",
"manifold-3d": "2.1.0",
"nurbs": "^1.1.1",
"shx": "^0.3.4"
}
}