Skip to content

Commit d02707c

Browse files
Added call to donate after npm install (optional)
1 parent 1a526db commit d02707c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"compile": "lerna run compile",
88
"lint": "tslint packages/*/{src,__tests__}/**/*.ts",
99
"prebootstrap": "npm install",
10-
"postinstall": "lerna bootstrap",
10+
"postinstall": "lerna bootstrap && opencollective postinstall",
1111
"publish": "lerna publish",
1212
"publish:canary": "npm run publish -- --canary",
1313
"test": "npm run testonly",
@@ -34,5 +34,13 @@
3434
"tslint": "^5.6.0",
3535
"tslint-config-accounts": "^0.0.3",
3636
"typescript": "^2.4.1"
37+
},
38+
"dependencies": {
39+
"opencollective": "^1.0.3"
40+
},
41+
"collective": {
42+
"type": "opencollective",
43+
"url": "https://opencollective.com/accounts-js",
44+
"logo": "https://opencollective.com/accounts-js/logo.txt"
3745
}
38-
}
46+
}

0 commit comments

Comments
 (0)