UNPKG

react-hotkeyz

Version:

A component that enables registration of hotkeys per z-index.

108 lines (107 loc) 3.26 kB
{ "name": "react-hotkeyz", "version": "1.0.4", "description": "A component that enables registration of hotkeys per z-index.", "main": "dist/index.js", "repository": { "type": "git", "url": "https://github.com/doitadrian/react-hotkeyz.git" }, "author": "Adrian Smijulj", "license": "MIT", "bugs": { "url": "https://github.com/doitadrian/react-hotkeyz/issues" }, "keywords": [ "react", "hotkeys", "hotkeyz", "keyboard", "shortcuts", "zIndex", "z-index" ], "homepage": "https://github.com/doitadrian/react-hotkeyz#readme", "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.2.2", "@babel/plugin-transform-runtime": "^7.2.0", "@babel/preset-env": "^7.2.3", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", "@storybook/addon-knobs": "^5.0.5", "@storybook/addon-links": "^5.0.5", "@storybook/react": "^5.0.5", "all-contributors-cli": "^5.6.0", "babel-core": "^7.0.0-0", "babel-eslint": "^10.0.1", "babel-jest": "^23.6.0", "babel-loader": "^8.0.4", "babel-preset-minify": "^0.5.0", "concurrently": "^4.1.0", "coveralls": "^3.0.2", "css-loader": "^2.0.2", "cz-conventional-changelog": "^2.1.0", "eslint": "^5.11.1", "eslint-plugin-flowtype": "^3.2.0", "eslint-plugin-react": "^7.12.0", "flow-bin": "^0.89.0", "flow-copy-source": "^2.0.2", "husky": "^1.3.1", "jest": "^23.6.0", "jest-dom": "^3.0.0", "lint-staged": "^8.1.0", "prettier": "^1.15.3", "react-syntax-highlighter": "^10.1.2", "react-testing-library": "^5.4.2", "semantic-release": "^15.13.3", "wait-on": "^3.2.0" }, "peerDependencies": { "react": ">=0.16.8" }, "dependencies": { "@babel/runtime": "^7.2.0", "is-hotkey": "^0.1.4" }, "scripts": { "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook", "cz": "git-cz", "build": "babel src --out-dir dist --source-maps --ignore **/*.test.js --no-comments", "postbuild": "npm run flow-copy-source", "flow-copy-source": "flow-copy-source src dist --ignore **/*.test.js", "test": "npm run test:jest:src", "test:jest:src": "npx jest --config ./scripts/jest/config.src.js", "test:jest:src:coverage": "npx jest --config ./scripts/jest/config.src.js --coverage --collectCoverageFrom=src/**/*.js", "test:jest:src:coverage:coveralls": "npm run test:jest:src:coverage && cat ./coverage/lcov.info | coveralls", "test:jest:dist": "npm run build && jest --config ./scripts/jest/config.dist.js --colors", "release": "npx semantic-release", "lint-staged": "lint-staged", "contributors:add": "all-contributors add", "contributors:generate": "all-contributors generate", "semantic-release": "semantic-release" }, "pre-commit": [ "lint-staged" ], "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "**/*.js": [ "prettier --write", "eslint --fix", "flow focus-check", "jest --config ./scripts/jest/config.src.js --findRelatedTests", "git add" ] } }