From 8c480807d280f0dc4cdd4b8b1d8b9fc6bdd1f53c Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Fri, 17 May 2024 10:11:22 +0200 Subject: [PATCH] remove prepare script for now --- packages/tidal/README.md | 3 +-- packages/tidal/package.json | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/tidal/README.md b/packages/tidal/README.md index 24f3efc3..8b07ac19 100644 --- a/packages/tidal/README.md +++ b/packages/tidal/README.md @@ -5,7 +5,6 @@ This is an experiment in implementing tree-sitter for parsing haskell. ```sh pnpm i cd haskell +pnpm copy-wasm pnpm dev ``` - -This \ No newline at end of file diff --git a/packages/tidal/package.json b/packages/tidal/package.json index e2f94c56..3cab8182 100644 --- a/packages/tidal/package.json +++ b/packages/tidal/package.json @@ -5,9 +5,9 @@ "type": "module", "scripts": { "dev": "vite", - "build": "vite build", + "build": "pnpm copy-wasm && vite build", "preview": "vite preview", - "prepare": "cp node_modules/hs2js/dist/tree-sitter.wasm public && cp node_modules/hs2js/dist/tree-sitter-haskell.wasm public" + "copy-wasm": "cp node_modules/hs2js/dist/tree-sitter.wasm public && cp node_modules/hs2js/dist/tree-sitter-haskell.wasm public" }, "repository": { "type": "git",