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

10 years ago
{
10 years ago
"name": "hotkeys-js",
10 years ago
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
4 years ago
"version": "3.8.7",
7 years ago
"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",
7 years ago
"watch": "node scripts/watch.js",
"pretest": "npm run build",
"test": "jest --coverage --detectOpenHandles",
7 years ago
"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"
}
},
10 years ago
"keywords": [
"hotkey",
10 years ago
"hotkeys",
"hotkeys-js",
"hotkeysjs",
10 years ago
"key",
10 years ago
"keys",
"keyboard",
8 years ago
"shortcuts",
"keypress"
10 years ago
],
7 years ago
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"homepage": "http://jaywcjlove.github.io/hotkeys",
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/hotkeys.git"
},
6 years ago
"jest": {
"testURL": "http://localhost/"
},
7 years ago
"dependencies": {},
10 years ago
"devDependencies": {
"@kkt/less-modules": "6.9.0",
"@kkt/raw-modules": "6.9.0",
"@kkt/scope-plugin-options": "6.9.0",
"@uiw/react-github-corners": "1.4.0",
"@uiw/react-mac-keyboard": "1.0.5",
"@uiw/react-markdown-preview": "3.1.1",
"@uiw/react-shields": "1.1.1",
"@uiw/reset.css": "1.0.4",
"babel-eslint": "10.1.0",
"bannerjs": "1.0.7",
"classnames": "2.3.1",
"colors-cli": "1.0.27",
"eslint": "7.28.0",
"eslint-config-airbnb": "18.2.1",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.24.0",
"husky": "4.2.3",
"kkt": "6.9.0",
"jest": "27.0.4",
"puppeteer": "10.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"rimraf": "3.0.2",
"rollup": "2.51.1",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "19.0.0",
"@rollup/plugin-node-resolve": "13.0.0",
"uglify-js": "3.13.9",
"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"
]
7 years ago
}
}