aboutsummaryrefslogtreecommitdiff
path: root/web/pw-visualizer/package.json
diff options
context:
space:
mode:
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"
+ }
+}