Skip to content

Commit 798fedc

Browse files
watch script
1 parent d56944f commit 798fedc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
"test": "echo \"Error: no test specified\" && exit 1",
1616
"build:clean": "rm -rf ./dist",
1717
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json",
18-
"build": "npm-run-all build:clean compile "
18+
"build": "npm-run-all build:clean compile",
19+
"watch:cjs": "tsc --watch -p tsconfig.cjs.json",
20+
"watch:esm": "tsc --watch -p tsconfig.esm.json",
21+
"watch:types": "tsc --watch -p tsconfig.types.json",
22+
"watch": "npm-run-all --parallel watch:cjs watch:esm watch:types"
1923
},
2024
"repository": {
2125
"type": "git",

0 commit comments

Comments
 (0)