Skip to content

Re-order npm scripts #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,21 @@
"url": "git+https://github.com/netlify/open-api.git"
},
"scripts": {
"prepublishOnly": "git push && git push --tags && gh-release",
"prepare": "run-s build",
"start": "run-s build serve",

"build": "run-s clean js site",
"clean": "rimraf js/dist ui/dist && mkdirp js/dist ui/dist",
"js": "node ./js/generate-module.js",
"prepare": "run-s build",
"prepublishOnly": "git push && git push --tags && gh-release",
"serve": "budo --dir ui/dist",
"site": "run-p site:*",
"site:css": "postcss ui/index.css -o ui/dist/bundle.css",
"site:js": "browserify ui/index.js -o ui/dist/bundle.js",
"site:static": "cpx 'ui/{index.html,static/**}' ui/dist",
"site:swagger": "node ./ui/include-swagger.js",
"start": "run-s build serve",

"serve": "budo --dir ui/dist",

"version": "run-s version:*",
"version:1-swagger": "node js/bump-swagger.js",
"version:2-changelog": "auto-changelog -p --template keepachangelog --breaking-pattern breaking",
Expand Down