forked from ianstormtaylor/is-hotkey
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.05 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.05 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
{
"name": "@inkarnaterpg/is-hotkey",
"description": "Check whether a browser event matches a hotkey.",
"version": "1.0.0",
"license": "MIT",
"type": "module",
"repository": "git://github.com/ianstormtaylor/is-hotkey.git",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "rimraf dist && rollup -c && copyfiles types/index.d.ts dist --flat",
"clean": "rm -rf ./dist ./node_modules",
"prepublishOnly": "pnpm run build",
"test": "pnpm run build && mocha",
"watch": "rollup -c -w"
},
"devDependencies": {
"copyfiles": "^2.4.1",
"rimraf": "^6.0.0",
"mocha": "^10.0.0",
"rollup": "^4.0.0"
},
"keywords": [
"code",
"combo",
"event",
"hotkey",
"key",
"keycode",
"keycodes",
"keycombo",
"keydown",
"keyup",
"mousetrap",
"shortcut",
"which"
]
}