-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.76 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 1.76 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
{
"name": "toukey",
"version": "1.3.1",
"description": "Toukey is a Javascript library for keyboard shortcuts",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"type": "module",
"engines": {
"node": ">=20"
},
"scripts": {
"build": "unbuild",
"prettier": "npx prettier src/**/*.ts playground/src/**/*.jsx --write",
"lint": "eslint --cache . && prettier -c src __test__",
"lint:fix": "eslint --cache . --fix && prettier -c src __test__ -w",
"prepack": "pnpm run build",
"zhlint": "npx zhlint README-zh.md",
"test": "pnpm lint && pnpm test:types && vitest run --coverage",
"test:types": "tsc --noEmit --skipLibCheck",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags"
},
"keywords": [
"keyboard",
"keyboardevent",
"shortcut",
"hotkey",
"event",
"keydown",
"keyup",
"library "
],
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"author": "Yukiniro",
"license": "MIT",
"homepage": "https://github.com/Yukiniro/toukey",
"repository": {
"type": "git",
"url": "https://github.com/Yukiniro/toukey.git"
},
"bugs": {
"email": "yukiniro@hotmail.com",
"url": "https://github.com/Yukiniro/toukey/issues"
},
"devDependencies": {
"@types/node": "^22.18.0",
"@vitest/coverage-v8": "^4.1.0",
"changelogen": "^0.6.2",
"eslint": "^10.1.0",
"eslint-config-unjs": "^0.6.2",
"happy-dom": "^20.8.4",
"jiti": "^2.5.1",
"prettier": "^3.8.1",
"typescript": "^5.9.3",
"unbuild": "^2.0.0",
"vite": "^6.4.1",
"vitest": "^4.1.0",
"zhlint": "^0.8.2"
}
}