1 | {
|
2 | "name": "hotkeys-js",
|
3 | "description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
|
4 | "version": "3.8.1",
|
5 | "main": "index.js",
|
6 | "types": "index.d.ts",
|
7 | "module": "dist/hotkeys.esm.js",
|
8 | "scripts": {
|
9 | "lint": "eslint --ext .js src website",
|
10 | "deploy": "node scripts/build.js && npm run doc:build && gh-pages -d doc",
|
11 | "build": "node scripts/build.js && npm run doc && npm run lint",
|
12 | "watch": "node scripts/watch.js",
|
13 | "pretest": "npm run build",
|
14 | "test": "jest --coverage --detectOpenHandles",
|
15 | "test:watch": "jest --watch",
|
16 | "doc": "cross-env PUBLIC_URL=. ENTRYDIR=website kkt build",
|
17 | "doc:dev": "cross-env PUBLIC_URL=. ENTRYDIR=website kkt start"
|
18 | },
|
19 | "files": [
|
20 | "index.d.ts",
|
21 | "dist",
|
22 | "doc"
|
23 | ],
|
24 | "husky": {
|
25 | "hooks": {
|
26 | "pre-commit": "npm run lint"
|
27 | }
|
28 | },
|
29 | "keywords": [
|
30 | "hotkey",
|
31 | "hotkeys",
|
32 | "hotkeys-js",
|
33 | "hotkeysjs",
|
34 | "key",
|
35 | "keys",
|
36 | "keyboard",
|
37 | "shortcuts",
|
38 | "keypress"
|
39 | ],
|
40 | "author": "kenny wong <wowohoo@qq.com>",
|
41 | "license": "MIT",
|
42 | "homepage": "http://jaywcjlove.github.io/hotkeys",
|
43 | "repository": {
|
44 | "type": "git",
|
45 | "url": "https://github.com/jaywcjlove/hotkeys.git"
|
46 | },
|
47 | "jest": {
|
48 | "testURL": "http://localhost/"
|
49 | },
|
50 | "dependencies": {},
|
51 | "devDependencies": {
|
52 | "@kkt/loader-less": "5.8.0",
|
53 | "@kkt/loader-raw": "5.8.0",
|
54 | "@uiw/react-github-corners": "1.1.3",
|
55 | "@uiw/react-mac-keyboard": "1.0.5",
|
56 | "@uiw/react-markdown-preview": "1.0.3",
|
57 | "@uiw/react-shields": "1.1.0",
|
58 | "@uiw/reset.css": "1.0.3",
|
59 | "babel-eslint": "10.1.0",
|
60 | "bannerjs": "1.0.7",
|
61 | "classnames": "2.2.6",
|
62 | "colors-cli": "1.0.26",
|
63 | "cross-env": "7.0.2",
|
64 | "eslint": "7.0.0",
|
65 | "eslint-config-airbnb": "18.1.0",
|
66 | "eslint-plugin-import": "2.20.2",
|
67 | "eslint-plugin-jsx-a11y": "6.2.3",
|
68 | "eslint-plugin-react": "7.20.0",
|
69 | "gh-pages": "2.2.0",
|
70 | "husky": "4.2.3",
|
71 | "jest": "25.2.7",
|
72 | "kkt": "5.8.0",
|
73 | "puppeteer": "2.1.1",
|
74 | "react": "16.13.1",
|
75 | "react-dom": "16.13.1",
|
76 | "rimraf": "3.0.2",
|
77 | "rollup": "2.10.2",
|
78 | "rollup-plugin-babel": "4.4.0",
|
79 | "rollup-plugin-commonjs": "10.1.0",
|
80 | "rollup-plugin-node-resolve": "5.2.0",
|
81 | "uglify-js": "3.8.1",
|
82 | "zlib": "1.0.5"
|
83 | },
|
84 | "browserslist": {
|
85 | "production": [
|
86 | ">0.2%",
|
87 | "not dead",
|
88 | "not op_mini all"
|
89 | ],
|
90 | "development": [
|
91 | "last 1 chrome version",
|
92 | "last 1 firefox version",
|
93 | "last 1 safari version"
|
94 | ]
|
95 | }
|
96 | }
|