UNPKG

@react-corekit/use-interval

Version:

React Hook implementation for setInterval()

88 lines (87 loc) 2.85 kB
{ "name": "@react-corekit/use-interval", "version": "1.1.1", "description": "React Hook implementation for setInterval()", "author": "glongh", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/react-corekit/use-interval.git" }, "publishConfig": { "access": "public", "registry": "https://npm.pkg.github.com/" }, "main": "dist/index.js", "module": "dist/index.es.js", "jsnext:main": "dist/index.es.js", "engines": { "node": ">=8", "npm": ">=5" }, "scripts": { "test": "cross-env CI=1 react-scripts test --env=jsdom", "test:watch": "react-scripts test --env=jsdom", "build": "rollup -c", "start": "rollup -c -w", "prepare": "yarn run build", "predeploy": "cd example && yarn install && yarn run build", "deploy": "gh-pages -d example/build" }, "peerDependencies": { "react": "^16.8.6" }, "devDependencies": { "@babel/core": "^7.0.0", "@babel/plugin-external-helpers": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.0.0", "@babel/plugin-proposal-decorators": "^7.0.0", "@babel/plugin-proposal-do-expressions": "^7.0.0", "@babel/plugin-proposal-export-default-from": "^7.0.0", "@babel/plugin-proposal-export-namespace-from": "^7.0.0", "@babel/plugin-proposal-function-bind": "^7.0.0", "@babel/plugin-proposal-function-sent": "^7.0.0", "@babel/plugin-proposal-json-strings": "^7.0.0", "@babel/plugin-proposal-logical-assignment-operators": "^7.0.0", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0", "@babel/plugin-proposal-numeric-separator": "^7.0.0", "@babel/plugin-proposal-optional-chaining": "^7.0.0", "@babel/plugin-proposal-pipeline-operator": "^7.0.0", "@babel/plugin-proposal-throw-expressions": "^7.0.0", "@babel/plugin-syntax-dynamic-import": "^7.0.0", "@babel/plugin-syntax-import-meta": "^7.0.0", "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "babel-eslint": "^10.0.1", "cross-env": "^5.2.0", "eslint": "5.16.0", "eslint-config-standard": "^11.0.0", "eslint-config-standard-react": "^6.0.0", "eslint-plugin-import": "^2.13.0", "eslint-plugin-node": "^7.0.1", "eslint-plugin-promise": "^4.0.0", "eslint-plugin-react": "^7.10.0", "eslint-plugin-standard": "^3.1.0", "gh-pages": "^2.1.1", "react": "^16.8.6", "react-scripts": "^3.0.1", "rollup": "^1.1.2", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-node-resolve": "^4.0.0", "rollup-plugin-peer-deps-external": "^2.2.0", "rollup-plugin-url": "^2.1.0" }, "directories": { "example": "example" }, "keywords": [ "React", "React", "Hooks", "UseInterval", "setInterval", "Interval", "Dan Abramov" ] }