Skip to content

Commit 96ab9d2

Browse files
committed
internal: add build:watch script
1 parent 893b4ea commit 96ab9d2

File tree

2 files changed

+144
-23
lines changed

2 files changed

+144
-23
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"ts:check": "tsc --noEmit",
88
"check": "npm run lint:check && npm run ts:check",
99
"prebuild": "npm run clean && npm run check",
10+
"build:watch": "pnpm build && nodemon --delay 0.5 --watch src --ext ts,tsx --exec \"pnpm build\"",
1011
"build": "tsc && node ./post-build.mjs",
1112
"pub": "PUBLISH=true pnpm run build",
1213
"prepublish": "pnpm test",
@@ -59,6 +60,7 @@
5960
"js2me-eslint-config": "^1.0.7",
6061
"js2me-exports-post-build-script": "^2.0.17",
6162
"jsdom": "^25.0.1",
63+
"nodemon": "^3.1.10",
6264
"rimraf": "^6.0.1",
6365
"typescript": "^5.7.3",
6466
"vitest": "^2.1.8"

0 commit comments

Comments
 (0)