@thejones/react-common-components
Version:
React component - semantic ui
102 lines (101 loc) • 2.99 kB
JSON
{
"_from": "keyboard-key@^1.0.4",
"_id": "keyboard-key@1.0.4",
"_inBundle": false,
"_integrity": "sha512-my04dE6BCwPpwoe4KYKfPxWiwgDYQOHrVmtzn1CfzmoEsGG/ef4oZGaXCzi1+iFhG7CN5JkOuxmei5OABY8/ag==",
"_location": "/keyboard-key",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "keyboard-key@^1.0.4",
"name": "keyboard-key",
"escapedName": "keyboard-key",
"rawSpec": "^1.0.4",
"saveSpec": null,
"fetchSpec": "^1.0.4"
},
"_requiredBy": [
"/semantic-ui-react"
],
"_resolved": "https://registry.npmjs.org/keyboard-key/-/keyboard-key-1.0.4.tgz",
"_shasum": "52d8fa07b7e17757072aa22a67fb4ae85e4c46b0",
"_spec": "keyboard-key@^1.0.4",
"_where": "/Users/alexjones/git/scratch/learn-react/react-loading-button/node_modules/semantic-ui-react",
"author": {
"name": "Levi Thomason"
},
"bugs": {
"url": "https://github.com/levithomason/keyboard-key/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "A simple utility for determining the KeyboardEvent.key property from a keyboard event.",
"devDependencies": {
"babel-eslint": "^8.0.0",
"eslint": "^4.4.1",
"eslint-config-prettier": "^2.3.0",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-prettier": "^2.2.0",
"greenkeeper-lockfile": "^1.8.1",
"husky": "^0.14.3",
"jest": "^22.1.3",
"lint-staged": "^6.0.1",
"markdown-toc": "^1.1.0",
"prettier": "^1.6.1",
"ta-scripts": "^2.5.2"
},
"homepage": "https://github.com/levithomason/keyboard-key#readme",
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js",
"!**/node_modules/**",
"!**/test/**"
],
"coverageDirectory": "coverage",
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 50,
"lines": 50,
"statements": 50
}
},
"roots": [
"./src",
"./test"
],
"testMatch": [
"**/*.spec.js"
],
"testEnvironment": "node"
},
"license": "MIT",
"lint-staged": {
"*.js?(on|x)": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"main": "src/keyboardKey.js",
"name": "keyboard-key",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/levithomason/keyboard-key.git"
},
"scripts": {
"lint": "prettier --list-different \"**/*.js?(on|x)\" && eslint \"**/*.js?(on|x)\"",
"lint:fix": "prettier --write \"**/*.js?(on|x)\" && eslint --fix \"**/*.js?(on|x)\"",
"precommit": "yarn toc && lint-staged",
"prerelease": "yarn lint && yarn test",
"release:major": "yarn prerelease && ta-script npm/release major",
"release:minor": "yarn prerelease && ta-script npm/release minor",
"release:patch": "yarn prerelease && ta-script npm/release patch",
"test": "jest",
"test:watch": "yarn jest -- --watchAll",
"toc": "markdown-toc -i README.md"
},
"version": "1.0.4"
}