remove bloated `opencollective` dependency and switch to a lightweight package with zero deps + allows opt-out of message printing

This commit is contained in:
Salakar 2018-08-24 14:47:56 +01:00
parent 2420b9c1d8
commit 53b0126c9b
2 changed files with 738 additions and 860 deletions

1594
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@
"lint": "eslint ./src", "lint": "eslint ./src",
"precommit": "lint-staged", "precommit": "lint-staged",
"prepublish": "npm run clean && npm run build", "prepublish": "npm run clean && npm run build",
"postinstall": "postinstall-build dist && opencollective postinstall || exit 0", "postinstall": "postinstall-build dist && opencollective-postinstall || exit 0",
"validate-ts-declarations": "tsc --project ./" "validate-ts-declarations": "tsc --project ./"
}, },
"repository": { "repository": {
@ -99,7 +99,7 @@
"typescript": "^3.0.1" "typescript": "^3.0.1"
}, },
"dependencies": { "dependencies": {
"opencollective": "^1.0.3", "opencollective-postinstall": "^2.0.0",
"postinstall-build": "^5.0.1", "postinstall-build": "^5.0.1",
"prop-types": "^15.6.2" "prop-types": "^15.6.2"
}, },