Skip to content

Commit e4efc39

Browse files
Use funding key in package.json instead of postinstall script (TanStack#666)
* Delete postinstall.js * Update package.json
1 parent 4cdcd18 commit e4efc39

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"license": "MIT",
77
"repository": "tannerlinsley/react-query",
88
"homepage": "https://github.com/tannerlinsley/react-query#readme",
9+
"funding": {
10+
"type": "github",
11+
"url": "https://github.com/sponsors/tannerlinsley"
12+
},
913
"main": "index.js",
1014
"types": "types/index.d.ts",
1115
"module": "dist/react-query.mjs",
@@ -27,7 +31,6 @@
2731
"doctoc": "npx doctoc --maxlevel 2 README.md",
2832
"jump2header": "npx @strdr4605/jump2header --header 'documentation' --start 'Installation' -e 2 --silent -l 2",
2933
"stats": "open ./stats.html",
30-
"postinstall": "node ./scripts/postinstall.js || exit 0",
3134
"dtslint": "dtslint types"
3235
},
3336
"release": {

scripts/postinstall.js

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

0 commit comments

Comments
 (0)