aboutsummaryrefslogtreecommitdiff
path: root/web/pw-frontend/package.json
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2021-12-29 21:24:57 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2021-12-29 21:25:29 +0100
commit0c6d978442b244ca3f29c1ffdd44b5007ae7ad93 (patch)
treebaae5fa459a49ecd362e548e0649e2f58c669a70 /web/pw-frontend/package.json
parent3eeaab6cec70e7a06a99a1ac2662974f71064bee (diff)
downloadplanetwars.dev-0c6d978442b244ca3f29c1ffdd44b5007ae7ad93.tar.xz
planetwars.dev-0c6d978442b244ca3f29c1ffdd44b5007ae7ad93.zip
separate out visualizer library
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"
}
}