Skip to content

Commit e7308b6

Browse files
authored
fix: Replace postinstall with official funding tools (#78)
* Remove postinstall * Remove postinstall file * Add funding field to package json
1 parent 1224be8 commit e7308b6

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
"license": "MIT",
77
"repository": "tannerlinsley/react-virtual",
88
"homepage": "https://github.com/tannerlinsley/react-virtual#readme",
9+
"support": {
10+
"backing": "npm-funding"
11+
},
12+
"funding": [
13+
"https://github.com/sponsors/tannerlinsley"
14+
],
915
"main": "index.js",
1016
"module": "dist/react-virtual.mjs",
1117
"types": "types",
@@ -27,7 +33,6 @@
2733
"doctoc": "npx doctoc --maxlevel 2 README.md",
2834
"jump2header": "npx @strdr4605/jump2header --header 'documentation' --start 'Installation' -e 2 --silent -l 2",
2935
"stats": "open ./stats.html",
30-
"postinstall": "node ./scripts/postinstall.js || exit 0",
3136
"dtslint": "dtslint types"
3237
},
3338
"files": [

scripts/postinstall.js

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)