20 Star 144 Fork 26

小弟调调 / hotkeys

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 2.50 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "hotkeys-js",
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
"version": "3.10.4",
"main": "index.js",
"types": "index.d.ts",
"module": "dist/hotkeys.esm.js",
"scripts": {
"prepare": "npm run build:lib && husky install",
"lint": "eslint --ignore-pattern dist --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.18.9",
"@kkt/less-modules": "^7.2.0",
"@kkt/raw-modules": "^7.2.0",
"@kkt/scope-plugin-options": "^7.2.0",
"@rollup/plugin-babel": "~5.3.1",
"@rollup/plugin-commonjs": "~22.0.2",
"@rollup/plugin-node-resolve": "~13.3.0",
"@uiw/react-github-corners": "~1.5.14",
"@uiw/react-mac-keyboard": "~1.1.4",
"@uiw/react-markdown-preview": "~4.0.24",
"@uiw/react-shields": "~1.1.3",
"@wcj/dark-mode": "~1.0.15",
"bannerjs": "~2.1.0",
"classnames": "~2.3.1",
"colors-cli": "~1.0.28",
"eslint": "~8.22.0",
"eslint-config-airbnb": "~19.0.4",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-jsx-a11y": "~6.6.1",
"eslint-plugin-react": "~7.30.1",
"husky": "~8.0.1",
"jest": "~27.5.1",
"kkt": "^7.2.0",
"lint-staged": "~13.0.3",
"puppeteer": "~13.5.2",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"rimraf": "~3.0.2",
"rollup": "~2.78.1",
"uglify-js": "~3.17.0",
"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": {
"src/**/*.js": "eslint --ext .js src website"
}
}
JavaScript
1
https://gitee.com/jaywcjlove/hotkeys.git
git@gitee.com:jaywcjlove/hotkeys.git
jaywcjlove
hotkeys
hotkeys
master

搜索帮助