From 68b00801222c2fe2d77709929a3558bac4562f60 Mon Sep 17 00:00:00 2001 From: Jess Date: Tue, 17 Sep 2019 17:53:41 -0700 Subject: [PATCH] Added call to donate after npm install (optional) --- package.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5c3dfc746..c2f5240d8 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "test-all": "npm run test-ts && npm run test-cov && if-node-version 10 npm run test-browser", "test": "npm run lint && npm run build && npm run test-all", "prepublish": "npm run build && npm run bundle", - "watch": "watch \"npm run build\" ./lib/dot" + "watch": "watch \"npm run build\" ./lib/dot", + "postinstall": "opencollective-postinstall || true" }, "nyc": { "exclude": [ @@ -65,6 +66,7 @@ "fast-deep-equal": "^2.0.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", + "opencollective-postinstall": "^2.0.2", "uri-js": "^4.2.2" }, "devDependencies": { @@ -94,5 +96,9 @@ "typescript": "^2.8.3", "uglify-js": "^3.3.24", "watch": "^1.0.0" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/ajv" } -} +} \ No newline at end of file