aboutsummaryrefslogtreecommitdiff
path: root/web/pw-visualizer/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-visualizer/package.json
parent3eeaab6cec70e7a06a99a1ac2662974f71064bee (diff)
downloadplanetwars.dev-0c6d978442b244ca3f29c1ffdd44b5007ae7ad93.tar.xz
planetwars.dev-0c6d978442b244ca3f29c1ffdd44b5007ae7ad93.zip
separate out visualizer library
Diffstat (limited to 'web/pw-visualizer/package.json')
-rw-r--r--web/pw-visualizer/package.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/web/pw-visualizer/package.json b/web/pw-visualizer/package.json
new file mode 100644
index 0000000..bbeb6d2
--- /dev/null
+++ b/web/pw-visualizer/package.json
@@ -0,0 +1,29 @@
+{
+ "name": "pw-visualizer",
+ "version": "0.0.1",
+ "type": "module",
+ "scripts": {
+ "dev": "vite",
+ "build": "vite build",
+ "build-wasm": "wasm-pack build ../planetwars-rs --target web"
+ },
+ "files": ["src"],
+ "main": "src/index.ts",
+ "devDependencies": {
+ "@originjs/vite-plugin-commonjs": "^1.0.1",
+ "tslib": "^2.3.1",
+ "typescript": "^4.4.4",
+ "vite": "^2.7.2",
+ "vite-plugin-wasm-pack": "^0.1.9"
+ },
+ "dependencies": {
+ "buffer": "^6.0.3",
+ "extract-svg-path": "^2.1.0",
+ "load-svg": "^1.0.0",
+ "svg-mesh-3d": "^1.1.0",
+ "ts-heap": "^1.1.3"
+ },
+ "peerDependencies": {
+ "planetwars-rs": "file:../planetwars-rs/pkg"
+ }
+}