Skip to content

Commit 5ee7dc4

Browse files
Added call to donate after npm install (optional)
1 parent d74338a commit 5ee7dc4

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"browser": "browserify ./index.js -p licensify -o browser.js -s brain",
2424
"browser-min": "browserify ./index.js -p licensify -s brain -g uglifyify -o browser.min.js",
2525
"make": "rimraf dist && npm run dist && git add ./dist && npm run browser && npm run browser-min",
26-
"clean": "rimraf node_modules"
26+
"clean": "rimraf node_modules",
27+
"postinstall": "opencollective postinstall"
2728
},
2829
"main": "./index.js",
2930
"devDependencies": {
@@ -75,7 +76,12 @@
7576
"license": "MIT",
7677
"dependencies": {
7778
"gpu.js": "^1.2.0",
79+
"opencollective": "^1.0.3",
7880
"thaw.js": "^2.0.0"
7981
},
80-
"typings": "./index.d.ts"
81-
}
82+
"typings": "./index.d.ts",
83+
"collective": {
84+
"type": "opencollective",
85+
"url": "https://opencollective.com/brainjs"
86+
}
87+
}

0 commit comments

Comments
 (0)