Skip to content

Commit ba110c8

Browse files
authored
Merge pull request #180 from netlify/refactor/npm-scripts
Re-order npm scripts
2 parents 70e2750 + fb4b07c commit ba110c8

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

package.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,21 @@
4444
"url": "git+https://github.com/netlify/open-api.git"
4545
},
4646
"scripts": {
47+
"prepublishOnly": "git push && git push --tags && gh-release",
48+
"prepare": "run-s build",
49+
"start": "run-s build serve",
50+
4751
"build": "run-s clean js site",
4852
"clean": "rimraf js/dist ui/dist && mkdirp js/dist ui/dist",
4953
"js": "node ./js/generate-module.js",
50-
"prepare": "run-s build",
51-
"prepublishOnly": "git push && git push --tags && gh-release",
52-
"serve": "budo --dir ui/dist",
5354
"site": "run-p site:*",
5455
"site:css": "postcss ui/index.css -o ui/dist/bundle.css",
5556
"site:js": "browserify ui/index.js -o ui/dist/bundle.js",
5657
"site:static": "cpx 'ui/{index.html,static/**}' ui/dist",
5758
"site:swagger": "node ./ui/include-swagger.js",
58-
"start": "run-s build serve",
59+
60+
"serve": "budo --dir ui/dist",
61+
5962
"version": "run-s version:*",
6063
"version:1-swagger": "node js/bump-swagger.js",
6164
"version:2-changelog": "auto-changelog -p --template keepachangelog --breaking-pattern breaking",

0 commit comments

Comments
 (0)