[setup] Make use of postinstall-build to build dist if required

This commit is contained in:
Chris Bianca
2017-11-29 10:06:06 +00:00
parent 453b69cbb9
commit c81a786014
2 changed files with 7 additions and 1 deletions

View File

@@ -12,7 +12,7 @@
"flow": "flow",
"lint": "eslint ./src",
"prepublish": "npm run clean && npm run build",
"postinstall": "opencollective postinstall",
"postinstall": "postinstall-build dist && opencollective postinstall",
"test-cli": "node ./bin/test.js",
"tests-packager": "cd tests && npm run start",
"tests-npm-install": "cd tests && npm install",
@@ -96,6 +96,7 @@
"dependencies": {
"bows": "^1.6.0",
"opencollective": "^1.0.3",
"postinstall-build": "^5.0.1",
"prop-types": "^15.6.0"
},
"rnpm": {