mirror of
https://github.com/primer/css.git
synced 2024-09-20 13:17:29 +03:00
rework "clean" run-script; add "fresh"
* `npm run distclean` is dead; long live `npm run clean`! * `npm run fresh` will run "clean" then install for you
This commit is contained in:
parent
a60e72cb93
commit
b1117b4a03
@ -1,13 +1,15 @@
|
||||
{
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"prefresh": "npm run clean || echo 'clean failed; no worries!'",
|
||||
"fresh": "npm install",
|
||||
"postinstall": "npm run bootstrap",
|
||||
"start": "start-storybook -p 8000 -c .storybook",
|
||||
"storybook": "build-storybook -o build",
|
||||
"publish-storybook": "npm run storybook && gh-pages -d build -b gh-pages -r https://github.com/primer/storybook",
|
||||
"bootstrap": "lerna bootstrap --hoist",
|
||||
"clean": "lerna clean",
|
||||
"distclean": "lerna clean --yes && rm -rf node_modules",
|
||||
"clean": "lerna clean --yes",
|
||||
"postclean": "rm -rf node_modules {,*/*/}package-lock.json",
|
||||
"diff": "lerna diff",
|
||||
"updated": "lerna updated || exit 0",
|
||||
"lint": "lerna run lint",
|
||||
|
Loading…
Reference in New Issue
Block a user