UNPKG

react-timer-hoc

Version:

A React timer higher-order component

61 lines (60 loc) 1.86 kB
{ "name": "react-timer-hoc", "version": "2.3.0", "description": "A React timer higher-order component", "main": "dist/commonjs/timer.js", "scripts": { "test": "mocha --compilers js:babel-core/register modules/timer.test.js", "lint": "eslint modules/timer.js", "build:cjs": "babel modules/timer.js -o dist/commonjs/timer.js", "build:umd": "babel modules/timer.js -o dist/umd/timer.js --plugins transform-es2015-modules-umd", "build": "npm run lint && npm run build:cjs && npm run build:umd", "clog": "conventional-changelog -p angular -i CHANGELOG.md -s" }, "repository": { "type": "git", "url": "git+https://github.com/troch/react-timer-hoc.git" }, "keywords": [ "react", "react-component", "timer", "hoc", "higher-order", "component" ], "author": "Thomas Roch <thomas.c.roch@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/troch/react-timer-hoc/issues" }, "homepage": "https://github.com/troch/react-timer-hoc#readme", "devDependencies": { "babel-cli": "~6.26.0", "babel-core": "~6.26.0", "babel-eslint": "~8.0.0", "babel-plugin-transform-es2015-modules-umd": "~6.24.1", "babel-plugin-transform-function-bind": "~6.22.0", "babel-plugin-transform-object-rest-spread": "~6.26.0", "babel-preset-es2015": "~6.24.1", "chai": "~4.1.2", "conventional-changelog": "~1.1.5", "eslint": "~4.7.2", "eslint-config-recommended": "~1.5.0", "jsdom": "~11.2.0", "mocha": "~3.5.3", "react": "~16.0.0", "react-addons-test-utils": "~15.6.2", "react-dom": "^16.0.0", "react-hyperscript": "~3.0.0", "sinon": "~4.0.0", "sinon-chai": "~2.13.0" }, "dependencies": { "invariant": "~2.2.2", "prop-types": "^15.6.0" }, "peerDependencies": { "react": "^15.0.0 || ^16.0.0" } }