-
-
Notifications
You must be signed in to change notification settings - Fork 412
/
package.json
98 lines (98 loc) · 2.69 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "hotkeys-js",
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
"version": "3.13.7",
"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.mjs",
"build": "npm run build:lib && npm run doc && npm run lint",
"watch": "node scripts/watch.mjs",
"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 <[email protected]>",
"license": "MIT",
"homepage": "https://jaywcjlove.github.io/hotkeys-js",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/hotkeys-js.git"
},
"jest": {
"testEnvironmentOptions": {
"url": "http://localhost/"
}
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.9",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@kkt/less-modules": "^7.5.2",
"@kkt/raw-modules": "^7.5.2",
"@kkt/scope-plugin-options": "^7.5.2",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@uiw/react-github-corners": "^1.5.15",
"@uiw/react-mac-keyboard": "^1.1.5",
"@uiw/react-markdown-preview": "^5.0.3",
"@uiw/react-shields": "^2.0.1",
"@wcj/dark-mode": "~1.0.15",
"bannerjs": "^3.0.2",
"classnames": "^2.3.2",
"colors-cli": "^1.0.32",
"eslint": "^8.44.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"kkt": "^7.5.2",
"lint-staged": "^15.2.0",
"puppeteer": "~13.5.2",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"rimraf": "^5.0.1",
"rollup": "^4.7.0",
"uglify-js": "^3.17.4"
},
"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"
}
}