Skip to content

Commit 1e68421

Browse files
committed
refactor: added a build:example and a build:gauge command in root package.json
1 parent 9596364 commit 1e68421

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
"lint": "bun run --filter \"*\" lint",
99
"typecheck": "bun run --filter \"*\" typecheck",
1010
"build:wasm": "bun ./scripts/cargo-msfs.ts",
11+
"build:gauge": "bun --cwd=\"./example/gauge\" run build",
1112
"copy:wasm": "bun run ./scripts/copy-wasm-module.ts",
12-
"build": "bun run build:wasm && bun run copy:wasm",
13+
"build:example": "bun run build:wasm && bun run build:gauge && bun run copy:wasm",
1314
"package": "bestzip wasm.zip dist/wasm/*"
1415
},
1516
"devDependencies": {

0 commit comments

Comments
 (0)