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-visualizer/package.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 web/pw-visualizer/package.json (limited to 'web/pw-visualizer/package.json') 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" + } +} -- cgit v1.2.3