react-key-handler
Version:
React component to handle keyboard events
87 lines (86 loc) • 2.63 kB
JSON
{
"name": "react-key-handler",
"version": "1.2.0-beta.3",
"description": "React component to handle keyboard events",
"homepage": "https://github.com/ayrton/react-key-handler",
"author": {
"name": "Ayrton De Craene",
"email": "im@ayrton.be",
"url": "https://github.com/ayrton"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/ayrton/react-key-handler.git"
},
"bugs": {
"url": "https://github.com/ayrton/react-key-handler/issues"
},
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"scripts": {
"build": "npm run build:clean && npm run build:bundle && npm run build:flow",
"build:clean": "rimraf dist",
"build:bundle": "rollup -c",
"build:flow": "flow-copy-source lib dist/cjs",
"demo": "parcel ./demo/index.html",
"demo:build": "parcel build demo/index.html --out-dir demo/dist --public-url=/react-key-handler",
"demo:deploy": "npm run demo:build && gh-pages -d demo/dist",
"prepublish": "npm run build",
"test": "npm run test:lint && npm run test:unit && npm run test:flow",
"test:flow": "flow check",
"test:lint": "eslint demo/ lib/ test/",
"test:unit": "mocha"
},
"keywords": [
"react",
"reactjs",
"key",
"event",
"handler"
],
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.11.0",
"babel-preset-stage-1": "^6.13.0",
"chai": "^4.1.2",
"chai-enzyme": "^1.0.0-beta.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^5.4.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"flow-bin": "^0.79.1",
"flow-copy-source": "^2.0.2",
"gh-pages": "^1.2.0",
"jsdom": "^11.12.0",
"mocha": "^5.2.0",
"parcel-bundler": "^1.9.7",
"prettier": "^1.14.2",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-syntax-highlighter": "^8.0.1",
"rimraf": "^2.6.2",
"rollup": "^0.63.5",
"rollup-plugin-babel": "^3.0.7",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-size-snapshot": "^0.6.1",
"rollup-plugin-terser": "^1.0.1",
"sinon": "^6.1.4"
},
"peerDependencies": {
"react": "^16.2.0-0"
},
"dependencies": {
"eslint-plugin-flowtype": "^2.50.0",
"exenv": "^1.2.0",
"prop-types": "^15.6.2"
}
}