Closed blink1073 closed 8 years ago
Add a script that runs npm run update && npm run build on the provided example, to be run as npm run watch:example foo, and parsed from process.argv.
npm run update && npm run build
npm run watch:example foo
process.argv
Change the watch:examples script to not run npm run build on the main part first, since that is already part of prepublish.
watch:examples
npm run build
prepublish
Add a script that runs
npm run update && npm run build
on the provided example, to be run asnpm run watch:example foo
, and parsed fromprocess.argv
.Change the
watch:examples
script to not runnpm run build
on the main part first, since that is already part ofprepublish
.