-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 1.77 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
{
"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",
"scripts": {
"build": "unbuild",
"prettier": "npx prettier src/**/*.ts playground/src/**/*.jsx --write",
"lint": "eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src __test__",
"lint:fix": "eslint --cache --ext .ts,.js,.mjs,.cjs . --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": "[email protected]",
"url": "https://github.com/Yukiniro/toukey/issues"
},
"devDependencies": {
"@types/node": "^20.10.3",
"@vitest/coverage-v8": "^1.0.1",
"changelogen": "^0.5.5",
"c8": "^8.0.1",
"eslint": "^8.52.0",
"eslint-config-unjs": "^0.2.1",
"jiti": "^1.21.0",
"happy-dom": "^12.10.1",
"prettier": "^3.1.0",
"typescript": "^5.3.2",
"unbuild": "^2.0.0",
"vitest": "^1.0.0",
"zhlint": "^0.7.1"
}
}