12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- {
- "name": "hotkeys-js",
- "description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
- "version": "3.9.4",
- "main": "index.js",
- "types": "index.d.ts",
- "module": "dist/hotkeys.esm.js",
- "scripts": {
- "prepare": "npm run build:lib && husky install",
- "lint": "eslint --ext .js src website",
- "build:lib": "node scripts/build.js",
- "build": "npm run build:lib && npm run doc && npm run lint",
- "watch": "node scripts/watch.js",
- "pretest": "npm run build",
- "test": "jest --coverage --detectOpenHandles",
- "test:watch": "jest --watch",
- "doc": "kkt build --app-src ./website",
- "start": "kkt start --app-src ./website"
- },
- "files": [
- "index.d.ts",
- "dist",
- "doc"
- ],
- "keywords": [
- "hotkey",
- "hotkeys",
- "hotkeys-js",
- "hotkeysjs",
- "key",
- "keys",
- "keyboard",
- "shortcuts",
- "keypress"
- ],
- "author": "kenny wong <wowohoo@qq.com>",
- "license": "MIT",
- "homepage": "http://jaywcjlove.github.io/hotkeys",
- "repository": {
- "type": "git",
- "url": "https://github.com/jaywcjlove/hotkeys.git"
- },
- "jest": {
- "testURL": "http://localhost/"
- },
- "devDependencies": {
- "@babel/eslint-parser": "~7.17.0",
- "@kkt/less-modules": "~7.1.2",
- "@kkt/raw-modules": "~7.1.2",
- "@kkt/scope-plugin-options": "~7.1.2",
- "@rollup/plugin-babel": "~5.3.1",
- "@rollup/plugin-commonjs": "~21.0.3",
- "@rollup/plugin-node-resolve": "~13.1.3",
- "@uiw/react-github-corners": "~1.5.14",
- "@uiw/react-mac-keyboard": "~1.1.4",
- "@uiw/react-markdown-preview": "~4.0.5",
- "@uiw/react-shields": "~1.1.2",
- "@wcj/dark-mode": "~1.0.14",
- "bannerjs": "~2.1.0",
- "classnames": "~2.3.1",
- "colors-cli": "~1.0.28",
- "eslint": "~8.12.0",
- "eslint-config-airbnb": "~19.0.4",
- "eslint-plugin-import": "~2.26.0",
- "eslint-plugin-jsx-a11y": "~6.5.1",
- "eslint-plugin-react": "~7.29.4",
- "husky": "^7.0.0",
- "jest": "~27.5.1",
- "kkt": "~7.1.6",
- "lint-staged": "^12.3.7",
- "puppeteer": "~13.5.2",
- "react": "~18.0.0",
- "react-dom": "~18.0.0",
- "rimraf": "~3.0.2",
- "rollup": "~2.70.1",
- "uglify-js": "~3.15.3",
- "zlib": "~1.0.5"
- },
- "browserslist": {
- "production": [
- ">0.2%",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- "last 1 chrome version",
- "last 1 firefox version",
- "last 1 safari version"
- ]
- },
- "lint-staged": {
- "*.js": "eslint --ext .js src website"
- }
- }
|