From 41fda87323b56dfd2f1ba57dcb12c077190c893f Mon Sep 17 00:00:00 2001 From: Jess Date: Sat, 27 Jan 2018 13:23:20 +0900 Subject: [PATCH] Added call to donate after npm install (optional) --- package.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8263f728..1f011507 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "compodoc": "compodoc -p tsconfig.json", "compodoc-serve": "compodoc -s", "transpile": "ngc -p ./tsconfig.json", - "serve:prod": "npm run build && lite-server -c ./example/bs-config.json" + "serve:prod": "npm run build && lite-server -c ./example/bs-config.json", + "postinstall": "opencollective postinstall" }, "typings": "./ngx-infinite-scroll.d.ts", "author": "Oren Farhi (orizens.com)", @@ -72,5 +73,13 @@ "uglify-js": "2.8.15", "sorcery": "0.10.0", "yargs": "7.0.2" + }, + "dependencies": { + "opencollective": "^1.0.3" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/ngx-infinite-scroll", + "logo": "https://opencollective.com/ngx-infinite-scroll/logo.txt" } } \ No newline at end of file