1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-09 06:30:40 +02:00

Improvements to developer experience with building packages (#1595)

* Improvements to developer experience with building packages

* Add note to Contributing.md about watch:packages
This commit is contained in:
Zach Schneider
2018-02-03 20:02:46 -05:00
committed by Ian Storm Taylor
parent b98e675bfb
commit b26bed1c88
4 changed files with 20 additions and 12 deletions

View File

@@ -80,9 +80,10 @@
"lint": "eslint packages/*/src packages/*/test examples/*/*.js examples/dev/*/*.js",
"open": "open http://localhost:8080/dev.html",
"release": "yarn test && yarn lint && lerna publish && yarn gh-pages",
"start": "http-server ./examples",
"server": "http-server ./examples",
"start": "npm-run-all --parallel --print-label watch server",
"test": "cross-env BABEL_ENV=test mocha --require babel-core/register ./packages/*/test/index.js",
"watch": "npm-run-all --parallel --print-label watch:rollup start",
"watch:rollup": "rollup --config --watch"
"watch": "rollup --config --watch",
"watch:packages": "cross-env SKIP_EXAMPLES=true yarn watch"
}
}