use-timer
Version:
A timer hook for React
54 lines (53 loc) • 1.41 kB
JSON
{
"name": "use-timer",
"version": "2.0.1",
"description": "A timer hook for React",
"main": "./lib/index.js",
"scripts": {
"build": "tsc",
"lint": "tslint -c tslint.json 'src/**/*.ts'",
"prettify": "prettier 'src/**/*.{ts,tsx}' --write",
"test": "jest",
"test:watch": "jest --watch",
"demo:dev": "parcel ./demo/index.html --open",
"demo:build": "parcel build ./demo/index.html --out-dir demo-dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thibaultboursier/use-timer.git"
},
"keywords": [
"react",
"react-hook",
"react-hooks",
"timer"
],
"author": "Thibault Boursier",
"license": "ISC",
"bugs": {
"url": "https://github.com/thibaultboursier/use-timer/issues"
},
"homepage": "https://github.com/thibaultboursier/use-timer#readme",
"devDependencies": {
"@testing-library/react": "11.0.4",
"@types/jest": "24.9.1",
"@types/node": "14.11.8",
"@types/react-dom": "16.9.8",
"jest": "24.9.0",
"jsdom": "16.4.0",
"jsdom-global": "3.0.2",
"parcel-bundler": "^1.12.4",
"prettier": "2.1.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"ts-jest": "26.4.1",
"tslint": "6.1.3",
"tslint-config-prettier": "1.18.0",
"typescript": "4.0.3"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"typings": "./lib/index.d.ts"
}