Skip to content

Commit 2be848b

Browse files
committed
Update to opencollective-postinstall
The https://github.com/opencollective/opencollective-cli package is deprecated, and https://github.com/opencollective/opencollective-postinstall is a more lightweight alternative, with no transitive dependencies.
1 parent b6e8e71 commit 2be848b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"types": "index.d.ts",
1616
"scripts": {
1717
"start": "node node_modules/react-native/local-cli/cli.js start",
18-
"postinstall": "./node_modules/.bin/opencollective postinstall || exit 0",
18+
"postinstall": "opencollective-postinstall",
1919
"build": "./node_modules/.bin/babel src -d dist",
2020
"lint": "prettier-eslint $PWD/'src/**/*.js' $PWD/'__tests__/**/*.js' --list-different",
2121
"fix": "prettier-eslint $PWD/'src/**/*.js' $PWD/'__tests__/**/*.js' --write",
@@ -25,7 +25,7 @@
2525
"@babel/runtime": "^7.6.0",
2626
"add": "^2.0.6",
2727
"lodash": "^4.17.15",
28-
"opencollective": "^1.0.3",
28+
"opencollective-postinstall": "^2.0.3",
2929
"path-to-regexp": "^2.4.0",
3030
"prop-types": "^15.6.2",
3131
"react-navigation": "^4.x",

0 commit comments

Comments
 (0)