-
-
Notifications
You must be signed in to change notification settings - Fork 419
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.9 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 2.9 KB
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
99
100
101
102
103
104
105
106
{
"name": "hotkeys-js",
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
"version": "4.0.3",
"type": "module",
"main": "dist/hotkeys-js.umd.cjs",
"module": "dist/hotkeys-js.js",
"browser": "dist/hotkeys-js.min.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/hotkeys-js.js",
"require": "./dist/hotkeys-js.umd.cjs",
"browser": "./dist/hotkeys-js.min.js",
"default": "./dist/hotkeys-js.js"
},
"./package.json": "./package.json"
},
"scripts": {
"prepare": "npm run build:lib && husky install",
"lint": "eslint src website",
"type-check": "tsc --noEmit",
"watch": "vite build --watch",
"build:lib": "vite build",
"build": "npm run type-check && npm run build:lib && npm run doc && npm run lint",
"pretest": "npm run build",
"test": "jest --coverage --detectOpenHandles",
"test:watch": "jest --watch",
"doc": "vite build --config website/vite.config.ts",
"start": "vite --config website/vite.config.ts"
},
"files": [
"dist",
"doc"
],
"keywords": [
"hotkey",
"hotkeys",
"hotkeys-js",
"hotkeysjs",
"key",
"keys",
"keyboard",
"shortcuts",
"keypress"
],
"author": "kenny wong <wowohoo@qq.com>",
"license": "MIT",
"homepage": "https://jaywcjlove.github.io/hotkeys-js",
"funding": "https://jaywcjlove.github.io/#/sponsor",
"repository": {
"type": "git",
"url": "git+https://github.com/jaywcjlove/hotkeys-js.git"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/node": "^24.10.1",
"@types/react": "^19.2.4",
"@types/react-dom": "^19.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",
"@vitejs/plugin-react": "^5.1.1",
"@wcj/dark-mode": "~1.1.0",
"eslint": "^9.39.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.1.0",
"globals": "^16.5.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.0",
"puppeteer": "~13.5.2",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"typescript": "^5.8.2",
"typescript-eslint": "^8.46.4",
"vite": "^5.1.0",
"vite-plugin-dts": "^4.5.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,ts}": "eslint",
"website/**/*.{js,jsx,ts,tsx}": "eslint"
},
"overrides": {
"react": "^19.2.0",
"react-dom": "^19.2.0"
}
}