- Rename watch to watch_without_deps in sub-packages, so dev's don't confuse running watch from root dir, with sub-package dir

- stop using special prebuild script name and run pre_build steps for `watch` and `build` commands
- Remove `clean` step from `build`/`watch`
This commit is contained in:
Fabio Berger
2018-06-05 15:38:40 +02:00
parent 44a736c53b
commit 25f62daf14
32 changed files with 62 additions and 54 deletions

View File

@@ -6,7 +6,7 @@
},
"description": "0x project typescript type definitions",
"scripts": {
"watch": "tsc -w",
"watch_without_deps": "tsc -w",
"build": "tsc && copyfiles -u 1 './lib/**/*' ./scripts",
"clean": "shx rm -rf scripts",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"