mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
Add dependency on Scarf for installation analytics (#2012)
* Adds dev dependency on Scarf, default opt-out. Corresponding installation instructions * Scarf as default opt in, moved to dependencies * Update install docs for default opt in analytics * Remove extra period * update yarn lock
This commit is contained in:
parent
294193376d
commit
d0a9b97ed0
@ -10,6 +10,12 @@ $ npm install react-table
|
||||
$ yarn add react-table
|
||||
```
|
||||
|
||||
React Table uses [Scarf](https://www.npmjs.com/package/@scarf/scarf) to collect
|
||||
anonymized installation analytics. These anlytics help support the maintainers
|
||||
of this library. However, if you'd like to opt out, you can do so by setting the
|
||||
environment variable `SCARF_ANALYTICS=false` before you install, or by setting
|
||||
`scarfSettings.enabled = false` in your project's `package.json`
|
||||
|
||||
To import React Table:
|
||||
|
||||
```js
|
||||
|
||||
@ -38,6 +38,9 @@
|
||||
"README.md"
|
||||
],
|
||||
"browserslist": "> 0.25%, not dead",
|
||||
"dependencies": {
|
||||
"@scarf/scarf": "^0.1.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.3"
|
||||
},
|
||||
|
||||
@ -992,6 +992,11 @@
|
||||
dependencies:
|
||||
any-observable "^0.3.0"
|
||||
|
||||
"@scarf/scarf@^0.1.3":
|
||||
version "0.1.3"
|
||||
resolved "https://registry.yarnpkg.com/@scarf/scarf/-/scarf-0.1.3.tgz#536f4fe54c613fca20f84dc7700ed3b8f1fb73cf"
|
||||
integrity sha512-ftMyZO7Mi8JQh8XLBcuH3erPGmT4CU4s131nsZIDC7/PYXxaDCJtOzbz3okH0YiTAif+DSIlFhX6d7FXLOtnvA==
|
||||
|
||||
"@sheerun/mutationobserver-shim@^0.3.2":
|
||||
version "0.3.2"
|
||||
resolved "https://registry.yarnpkg.com/@sheerun/mutationobserver-shim/-/mutationobserver-shim-0.3.2.tgz#8013f2af54a2b7d735f71560ff360d3a8176a87b"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user