{ "name": "hotkeys-js", "description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.", "version": "3.7.6", "main": "index.js", "types": "index.d.ts", "module": "dist/hotkeys.esm.js", "scripts": { "lint": "eslint --ext .js src website", "deploy": "node scripts/build.js && npm run doc:build && gh-pages -d doc", "build": "node scripts/build.js && npm run doc:build && npm run lint", "watch": "node scripts/watch.js", "pretest": "npm run build", "test": "jest --coverage", "test:watch": "jest --watch", "doc": "npm run doc:dev", "doc:dev": "cross-env NODE_ENV=development parcel website/index.html --out-dir doc --no-cache", "doc:build": "rimraf doc && cross-env NODE_ENV=production parcel build website/index.html --out-dir doc --public-url ./ --no-cache --no-source-maps" }, "files": [ "index.d.ts", "dist", "doc" ], "husky": { "hooks": { "pre-commit": "npm run lint" } }, "keywords": [ "hotkey", "hotkeys", "hotkeys-js", "hotkeysjs", "key", "keys", "keyboard", "shortcuts", "keypress" ], "author": "kenny wong ", "license": "MIT", "homepage": "http://jaywcjlove.github.io/hotkeys", "repository": { "type": "git", "url": "https://github.com/jaywcjlove/hotkeys.git" }, "jest": { "testURL": "http://localhost/" }, "dependencies": {}, "devDependencies": { "@babel/core": "7.9.0", "@babel/plugin-external-helpers": "7.8.3", "@babel/plugin-transform-runtime": "7.9.0", "@babel/preset-env": "7.9.0", "@babel/preset-react": "7.9.4", "@uiw/react-github-corners": "1.1.3", "autoprefixer": "9.7.5", "babel-eslint": "10.1.0", "bannerjs": "1.0.7", "classnames": "2.2.6", "colors-cli": "1.0.26", "cross-env": "7.0.2", "eslint": "6.8.0", "eslint-config-airbnb": "18.1.0", "eslint-plugin-import": "2.20.1", "eslint-plugin-jsx-a11y": "6.2.3", "eslint-plugin-react": "7.19.0", "gh-pages": "2.2.0", "highlight.js": "9.18.1", "husky": "4.2.3", "jest": "25.2.3", "less": "3.11.1", "parcel-bundler": "1.12.4", "parcel-plugin-markdown-string": "1.4.2", "postcss-modules": "1.5.0", "puppeteer": "2.1.1", "react": "16.13.1", "react-dom": "16.13.1", "react-markdown": "4.3.1", "rimraf": "3.0.2", "rollup": "2.2.0", "rollup-plugin-babel": "4.4.0", "rollup-plugin-commonjs": "10.1.0", "rollup-plugin-node-resolve": "5.2.0", "uglify-js": "3.8.1", "zlib": "1.0.5" } }