Watchable builds
This commit is contained in:
parent
c82918d9a0
commit
7332096828
|
@ -11,7 +11,9 @@
|
|||
"scripts": {
|
||||
"prepare": "npm run compile && npm run rollup",
|
||||
"compile": "../../node_modules/.bin/tsc",
|
||||
"rollup": "../../node_modules/.bin/rollup -c"
|
||||
"compile-watch": "../../node_modules/.bin/tsc -w",
|
||||
"rollup": "../../node_modules/.bin/rollup -c",
|
||||
"rollup-watch": "../../node_modules/.bin/rollup -c -w"
|
||||
},
|
||||
"main": "dist/syndicate-compiler.js",
|
||||
"module": "lib/index.js",
|
||||
|
|
|
@ -11,7 +11,9 @@
|
|||
"scripts": {
|
||||
"prepare": "npm run compile && npm run rollup",
|
||||
"compile": "../../node_modules/.bin/tsc",
|
||||
"compile-watch": "../../node_modules/.bin/tsc -w",
|
||||
"rollup": "../../node_modules/.bin/rollup -c",
|
||||
"rollup-watch": "../../node_modules/.bin/rollup -c -w",
|
||||
"test": "../../node_modules/.bin/jest",
|
||||
"cover": "../../node_modules/.bin/nyc --reporter=html ../../node_modules/.bin/jest"
|
||||
},
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
"repository": "github:syndicate-lang/syndicate-js",
|
||||
"scripts": {
|
||||
"prepare": "npm run compile",
|
||||
"compile": "../../node_modules/.bin/tsc"
|
||||
"compile": "../../node_modules/.bin/tsc",
|
||||
"compile-watch": "../../node_modules/.bin/tsc -w"
|
||||
},
|
||||
"author": "Tony Garnock-Jones <tonyg@leastfixedpoint.com>",
|
||||
"dependencies": {
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
"repository": "github:syndicate-lang/syndicate-js",
|
||||
"scripts": {
|
||||
"prepare": "npm run compile",
|
||||
"compile": "../../node_modules/.bin/tsc"
|
||||
"compile": "../../node_modules/.bin/tsc",
|
||||
"compile-watch": "../../node_modules/.bin/tsc -w"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
"repository": "github:syndicate-lang/syndicate-js",
|
||||
"scripts": {
|
||||
"prepare": "npm run compile",
|
||||
"compile": "../../node_modules/.bin/tsc"
|
||||
"compile": "../../node_modules/.bin/tsc",
|
||||
"compile-watch": "../../node_modules/.bin/tsc -w"
|
||||
},
|
||||
"author": "Tony Garnock-Jones <tonyg@leastfixedpoint.com>",
|
||||
"dependencies": {
|
||||
|
|
4
watchall
4
watchall
|
@ -16,12 +16,12 @@ open() {
|
|||
|
||||
for d in packages/*/tsconfig.json
|
||||
do
|
||||
open "cd $(dirname $d); ../../node_modules/.bin/tsc -w"
|
||||
open "cd $(dirname $d); npm run compile-watch"
|
||||
done
|
||||
|
||||
for d in packages/*/rollup.config.js
|
||||
do
|
||||
open "cd $(dirname $d); npx rollup -c -w"
|
||||
open "cd $(dirname $d); npm run rollup-watch"
|
||||
done
|
||||
|
||||
tmux select-layout even-vertical
|
||||
|
|
Loading…
Reference in New Issue