diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-03-31 04:03:52 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-03-31 04:03:52 +0200 |
| commit | dcf54c1250431f5a4a2848f7c07781ef5eebacaf (patch) | |
| tree | 64270f82d879ce0b0a028384e513ea87940da630 /package.json | |
| parent | 5cc6abc3a44c9d046a1cb71a8c916f1d35827e8f (diff) | |
| download | opencut-dcf54c1250431f5a4a2848f7c07781ef5eebacaf.tar.gz | |
feat: migrate time utilities from typescript to rust WASM
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package.json b/package.json index 59953a3e..0917c212 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,13 @@ "packageManager": "bun@1.2.18", "workspaces": [ "apps/*", - "packages/*" + "packages/*", + "rust/wasm/pkg" ], "scripts": { + "build:wasm": "wasm-pack build rust/wasm --target bundler --out-dir pkg", + "publish:wasm": "bun run build:wasm && npm publish rust/wasm/pkg --access public", + "dev:wasm": "cargo watch -w rust/crates -w rust/wasm/src -s 'wasm-pack build rust/wasm --target bundler --out-dir pkg'", "dev:web": "turbo run dev --filter=@opencut/web", "build:web": "turbo run build --filter=@opencut/web", "dev:tools": "turbo run dev --filter=@opencut/tools", |
