You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hotkeys/package.json

97 lines
2.4 KiB
JSON

{
"name": "hotkeys-js",
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
"version": "3.8.7",
"main": "index.js",
"types": "index.d.ts",
"module": "dist/hotkeys.esm.js",
"scripts": {
"prepare": "npm run build:lib",
"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"
],
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"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/"
},
"dependencies": {},
"devDependencies": {
"@babel/eslint-parser": "7.17.0",
"@kkt/less-modules": "7.1.0",
"@kkt/raw-modules": "7.1.0",
"@kkt/scope-plugin-options": "7.1.0",
"@uiw/react-github-corners": "1.5.3",
"@uiw/react-mac-keyboard": "1.1.3",
"@uiw/react-markdown-preview": "3.4.7",
"@uiw/react-shields": "1.1.2",
"@uiw/reset.css": "1.0.4",
"bannerjs": "1.0.7",
"classnames": "2.3.1",
"colors-cli": "1.0.27",
"eslint": "8.8.0",
"eslint-config-airbnb": "19.0.4",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-react": "7.28.0",
"husky": "4.2.3",
"kkt": "7.1.0",
"jest": "27.0.4",
"puppeteer": "10.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"rimraf": "3.0.2",
"rollup": "2.67.1",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "21.0.1",
"@rollup/plugin-node-resolve": "13.1.3",
"uglify-js": "3.15.1",
"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"
]
}
}