use-invariant
Version:
- <a target="_blank" rel="noopener noreferrer" href='https://codesandbox.io/s/usefetch-in-nextjs-nn9fm'>Example - Next.js</a> - <a target="_blank" rel="noopener noreferrer" href='https://codesandbox.io/embed/km04k9k9x5'>Examples - create-react-app</a>
92 lines (91 loc) • 2.23 kB
JSON
{
"name": "use-invariant",
"version": "0.1.70",
"homepage": "https://codesandbox.io/embed/km04k9k9x5",
"main": "dist/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alex-cory/use-http.git"
},
"dependencies": {
"use-ssr": "^1.0.18"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6"
},
"devDependencies": {
"@testing-library/react": "^8.0.1",
"@types/fetch-mock": "^7.2.3",
"@types/jest": "^24.0.12",
"@types/node": "^12.0.10",
"@types/react": "^16.8.19",
"@types/react-dom": "^16.8.4",
"jest": "^24.7.1",
"jest-fetch-mock": "^2.1.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hooks-testing-library": "^0.6.0",
"ts-jest": "^24.0.0",
"typescript": "^3.4.5"
},
"scripts": {
"prepublishOnly": "yarn build # runs before publish",
"build": "rm -rf dist && ./node_modules/.bin/tsc --module CommonJS",
"build:watch": "rm -rf dist && ./node_modules/.bin/tsc -w --module CommonJS",
"test": "tsc -p . --noEmit && tsc -p ./src/__tests__ && jest -c ./config/jest.config.js --env=jsdom",
"test:watch": "jest -c ./config/jest.config.js --env=jsdom --watch",
"clean": "npm prune; yarn cache clean; rm -rf ./node_modules package-lock.json yarn.lock; yarn"
},
"files": [
"dist"
],
"keywords": [
"react hook",
"react-hook",
"use",
"isomorphic",
"use",
"http",
"fetch",
"hook",
"react",
"useFetch",
"fetch",
"request",
"axios",
"react-use-fetch",
"react-fetch-hook",
"use-fetch",
"suspense",
"fetch data",
"usefetch hook",
"react-hooks-fetch",
"react usefetch",
"react hooks tutorial",
"react-cache",
"react custom hooks",
"react-usefetch",
"react hooks async",
"react suspense",
"use hooks",
"react usefetch hook",
"fetch-suspense",
"async hook react",
"react-hooks-fetch",
"react hooks usefetch",
"use fetch hook",
"react fetch hook",
"graphql",
"mutation",
"query",
"useAxios",
"use-axios",
"use-superagent",
"superagent",
"apollo",
"useGraphQL",
"use-graphql"
]
}