UNPKG

react-recipes

Version:

A React Hooks utility library containing popular customized hooks

86 lines (85 loc) 2.31 kB
{ "name": "react-recipes", "version": "1.5.0", "description": "A React Hooks utility library containing popular customized hooks", "author": "@craig1123", "sideEffects": false, "main": "dist/react-recipes.js", "umd:main": "dist/react-recipes.umd.js", "module": "dist/react-recipes.m.js", "unpkg": "dist/react-recipes.umd.js", "source": "src/index.js", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/craig1123/react-recipes.git" }, "bugs": { "url": "https://github.com/craig1123/react-recipes/issues" }, "publishConfig": { "tag": "latest" }, "scripts": { "prepublishOnly": "npm run build", "lint": "eslint src utils", "lint:fix": "eslint --fix src utils", "test": "jest --verbose --coverage", "test:watch": "jest --watch --runInBand", "prebuild": "rimraf dist && npm run lint:fix && npm run lint && npm run test", "build": "microbundle -o dist/ --sourcemap false", "dev": "microbundle watch -o dist/ --sourcemap false --compress false" }, "keywords": [ "react-hooks", "hooks", "react", "utility", "utils", "list", "collection", "all", "ultimate", "use", "recipes" ], "devDependencies": { "@babel/core": "^7.12.9", "@babel/preset-env": "^7.12.7", "@babel/preset-react": "^7.12.7", "@testing-library/react": "^11.2.2", "@testing-library/react-hooks": "^3.4.2", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.6.3", "eslint": "^7.14.0", "eslint-config-airbnb": "^18.2.1", "eslint-loader": "^4.0.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-react": "^7.21.5", "eslint-plugin-react-hooks": "^4.2.0", "jest": "^26.6.3", "microbundle": "^0.12.4", "raf-stub": "^3.0.0", "react": "^17.0.1", "react-dom": "^17.0.1", "react-test-renderer": "^17.0.1", "rimraf": "^3.0.2" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "jest": { "coverageThreshold": { "global": { "branches": 0, "functions": 0, "lines": 0, "statements": 0 } } }, "dependencies": {} }