aboutsummaryrefslogtreecommitdiff
path: root/web/pw-frontend/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-frontend/package.json')
-rw-r--r--web/pw-frontend/package.json10
1 files changed, 3 insertions, 7 deletions
diff --git a/web/pw-frontend/package.json b/web/pw-frontend/package.json
index f011162..94d95a0 100644
--- a/web/pw-frontend/package.json
+++ b/web/pw-frontend/package.json
@@ -5,7 +5,7 @@
"scripts": {
"dev": "vite",
"build": "vite build",
- "build-wasm": "wasm-pack build ./planetwars-rs --target web",
+ "build-wasm": "wasm-pack build ../planetwars-rs --target web",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json"
},
@@ -13,7 +13,6 @@
"@originjs/vite-plugin-commonjs": "^1.0.1",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.30",
"@tsconfig/svelte": "^2.0.1",
- "rollup-plugin-polyfill-node": "^0.8.0",
"svelte": "^3.44.0",
"svelte-check": "^2.2.7",
"svelte-preprocess": "^4.9.8",
@@ -23,11 +22,8 @@
"vite-plugin-wasm-pack": "^0.1.9"
},
"dependencies": {
- "buffer": "^6.0.3",
- "extract-svg-path": "^2.1.0",
- "load-svg": "^1.0.0",
"moment": "^2.29.1",
- "svg-mesh-3d": "^1.1.0",
- "ts-heap": "^1.1.3"
+ "pw-visualizer": "file:../pw-visualizer",
+ "planetwars-rs": "file:../planetwars-rs/pkg"
}
}