mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
Add postinstall support message
This commit is contained in:
parent
428382c17c
commit
e0a6a04137
@ -29,7 +29,8 @@
|
||||
"format": "prettier {src,src/**,examples/*/src,examples/*/src/**}/*.{md,js,jsx,tsx} --write",
|
||||
"docz:build": "docz build",
|
||||
"docz:dev": "docz dev",
|
||||
"docz:serve": "docz build && docz serve"
|
||||
"docz:serve": "docz build && docz serve",
|
||||
"postinstall": "node ./scripts/postinstall.js || exit 0"
|
||||
},
|
||||
"files": [
|
||||
"CHANGELOG.md",
|
||||
|
||||
10
scripts/postinstall.js
Normal file
10
scripts/postinstall.js
Normal file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
var msg = `
|
||||
👩💻 Use react-table at work?
|
||||
🎉 Consider sponsoring/supporting its development at:
|
||||
|
||||
https://github.com/sponsors/tannerlinsley
|
||||
`
|
||||
|
||||
console.log(msg)
|
||||
Loading…
Reference in New Issue
Block a user