Skip to content

Commit 953ea51

Browse files
Added call to donate after npm install (optional)
1 parent bdb8300 commit 953ea51

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

package.json

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"bigint",
1717
"bignum"
1818
],
19-
"repository" : {
19+
"repository": {
2020
"type": "git",
2121
"url": "https://github.com/MikeMcl/big.js.git"
2222
},
@@ -27,7 +27,7 @@
2727
"name": "Michael Mclaughlin",
2828
"email": "M8ch88l@gmail.com"
2929
},
30-
"bugs": {
30+
"bugs": {
3131
"url": "https://github.com/MikeMcl/big.js/issues"
3232
},
3333
"engines": {
@@ -36,11 +36,19 @@
3636
"license": "MIT",
3737
"scripts": {
3838
"test": "node ./test/every-test.js",
39-
"build": "uglifyjs big.js --source-map doc/big.js.map -c -m -o big.min.js --preamble \"/* big.js v5.1.2 https://github.com/MikeMcl/big.js/LICENCE */\""
39+
"build": "uglifyjs big.js --source-map doc/big.js.map -c -m -o big.min.js --preamble \"/* big.js v5.1.2 https://github.com/MikeMcl/big.js/LICENCE */\"",
40+
"postinstall": "opencollective postinstall"
4041
},
4142
"files": [
4243
"big.js",
4344
"big.mjs",
4445
"big.min.js"
45-
]
46-
}
46+
],
47+
"dependencies": {
48+
"opencollective": "^1.0.3"
49+
},
50+
"collective": {
51+
"type": "opencollective",
52+
"url": "https://opencollective.com/bigjs"
53+
}
54+
}

0 commit comments

Comments
 (0)