From 0c6d978442b244ca3f29c1ffdd44b5007ae7ad93 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Wed, 29 Dec 2021 21:24:57 +0100 Subject: separate out visualizer library --- web/pw-frontend/package.json | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'web/pw-frontend/package.json') 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" } } -- cgit v1.2.3