Update package.json script names

This commit is contained in:
Tony Garnock-Jones 2022-01-24 13:39:19 +01:00
parent 2c58066380
commit bdbffad5d3
2 changed files with 13 additions and 11 deletions

View File

@ -14,11 +14,13 @@
"author": "Tony Garnock-Jones <tonyg@leastfixedpoint.com>",
"scripts": {
"clean": "rm -rf lib dist",
"prepare": "tsc && rollup -c",
"rollupwatch": "rollup -c -w",
"prepare": "yarn compile && yarn rollup",
"compile": "tsc",
"compile:watch": "yarn compile -w",
"rollup": "rollup -c",
"rollup:watch": "yarn rollup -w",
"test": "jest",
"testwatch": "jest --watch",
"veryclean": "yarn run clean && rm -rf node_modules",
"watch": "tsc -w"
"test:watch": "jest --watch",
"veryclean": "yarn run clean && rm -rf node_modules"
}
}

View File

@ -14,11 +14,11 @@ open() {
fi
}
open "cd packages/core; yarn run watch"
open "cd packages/core; yarn run rollupwatch"
open "cd packages/core; yarn run testwatch"
open "cd packages/schema; yarn run watch"
open "cd packages/schema; yarn run rollupwatch"
open "cd packages/schema; yarn run testwatch"
open "cd packages/core; yarn run compile:watch"
open "cd packages/core; yarn run rollup:watch"
open "cd packages/core; yarn run test:watch"
open "cd packages/schema; yarn run compile:watch"
open "cd packages/schema; yarn run rollup:watch"
open "cd packages/schema; yarn run test:watch"
tmux select-layout even-vertical