diff --git a/package-lock.json b/package-lock.json index e901587a..e637199d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 03cf4200..8fdc90c4 100644 --- a/package.json +++ b/package.json @@ -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": {