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.
96 lines
2.4 KiB
JSON
96 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.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 && npm run lint",
|
|
"watch": "node scripts/watch.js",
|
|
"pretest": "npm run build",
|
|
"test": "jest --coverage",
|
|
"test:watch": "jest --watch",
|
|
"doc": "cross-env PUBLIC_URL=. ENTRYDIR=website kkt build",
|
|
"doc:dev": "cross-env PUBLIC_URL=. ENTRYDIR=website kkt start"
|
|
},
|
|
"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": {
|
|
"@kkt/loader-less": "5.8.0",
|
|
"@kkt/loader-raw": "5.8.0",
|
|
"@uiw/react-github-corners": "1.1.3",
|
|
"@uiw/react-markdown-preview": "^1.0.3",
|
|
"@uiw/react-shields": "1.1.0",
|
|
"@uiw/reset.css": "1.0.3",
|
|
"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.2",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-react": "7.19.0",
|
|
"gh-pages": "2.2.0",
|
|
"husky": "4.2.3",
|
|
"jest": "25.2.7",
|
|
"kkt": "5.8.0",
|
|
"puppeteer": "2.1.1",
|
|
"react": "16.13.1",
|
|
"react-dom": "16.13.1",
|
|
"rimraf": "3.0.2",
|
|
"rollup": "2.3.2",
|
|
"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"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|