[setup] Make use of postinstall-build to build `dist` if required
This commit is contained in:
parent
453b69cbb9
commit
c81a786014
|
@ -5970,6 +5970,11 @@
|
|||
"integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==",
|
||||
"dev": true
|
||||
},
|
||||
"postinstall-build": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/postinstall-build/-/postinstall-build-5.0.1.tgz",
|
||||
"integrity": "sha1-uRepB5smF42aJK9aXNjLSpkdEbk="
|
||||
},
|
||||
"prelude-ls": {
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue