[setup] Make use of postinstall-build to build dist
if required
This commit is contained in:
parent
453b69cbb9
commit
c81a786014
5
package-lock.json
generated
5
package-lock.json
generated
@ -5970,6 +5970,11 @@
|
|||||||
"integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==",
|
"integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==",
|
||||||
"dev": true
|
"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": {
|
"prelude-ls": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"flow": "flow",
|
"flow": "flow",
|
||||||
"lint": "eslint ./src",
|
"lint": "eslint ./src",
|
||||||
"prepublish": "npm run clean && npm run build",
|
"prepublish": "npm run clean && npm run build",
|
||||||
"postinstall": "opencollective postinstall",
|
"postinstall": "postinstall-build dist && opencollective postinstall",
|
||||||
"test-cli": "node ./bin/test.js",
|
"test-cli": "node ./bin/test.js",
|
||||||
"tests-packager": "cd tests && npm run start",
|
"tests-packager": "cd tests && npm run start",
|
||||||
"tests-npm-install": "cd tests && npm install",
|
"tests-npm-install": "cd tests && npm install",
|
||||||
@ -96,6 +96,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bows": "^1.6.0",
|
"bows": "^1.6.0",
|
||||||
"opencollective": "^1.0.3",
|
"opencollective": "^1.0.3",
|
||||||
|
"postinstall-build": "^5.0.1",
|
||||||
"prop-types": "^15.6.0"
|
"prop-types": "^15.6.0"
|
||||||
},
|
},
|
||||||
"rnpm": {
|
"rnpm": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user