[Sandbox] Add watch script
This commit is contained in:
parent
abe2c75dff
commit
f483e4c602
@ -6,6 +6,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "esbuild src/index.ts --bundle --outfile=build/sandbox.cjs --format=cjs --platform=node",
|
"build": "esbuild src/index.ts --bundle --outfile=build/sandbox.cjs --format=cjs --platform=node",
|
||||||
|
"watch": "esbuild src/index.ts --bundle --outfile=build/sandbox.cjs --format=cjs --platform=node --watch",
|
||||||
"check": "tsc -noEmit",
|
"check": "tsc -noEmit",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"lint": "prettier --check . && eslint .",
|
"lint": "prettier --check . && eslint .",
|
||||||
|
Loading…
Reference in New Issue
Block a user