From a71ac29166a76b4bd1a32364da620563f21a6408 Mon Sep 17 00:00:00 2001 From: Xavier Damman Date: Tue, 9 May 2017 09:21:36 -0400 Subject: [PATCH] Added call to donate after npm install --- package.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a1276b865f..1320758da4 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,8 @@ "build": "webpack", "watch": "webpack --watch", "precommit": "npm run lint", - "prepublish": "npm run build" + "prepublish": "npm run build", + "postinstall": "opencollective postinstall" }, "engines": { "node": ">=4.3.0 <5.0.0 || >=5.10", @@ -74,6 +75,7 @@ "lru-cache": "^4.0.2", "memory-fs": "^0.4.1", "offline-plugin": "^4.7.0", + "opencollective": "^1.0.3", "pify": "^2.3.0", "post-compile-webpack-plugin": "^0.1.1", "preload-webpack-plugin": "^1.2.2", @@ -118,5 +120,10 @@ "request": "^2.81.0", "request-promise-native": "^1.0.3", "webpack-node-externals": "^1.5.4" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/nuxtjs", + "logo": "https://opencollective.com/nuxtjs/logo.txt?reverse=true&variant=variant2" } -} +} \ No newline at end of file