-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.08 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 2.08 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
{
"name": "@rwh/react-keystrokes",
"version": "1.5.6",
"description": "React bindings for Keystrokes, an easy to use library for binding functions to keys and key combos. It can be used with any TypeScript or JavaScript project, even in non-browser environments.",
"type": "module",
"main": "dist/react-keystrokes.umd.cjs",
"module": "dist/react-keystrokes.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/react-keystrokes.js",
"require": "./dist/react-keystrokes.umd.cjs"
}
},
"files": [
"dist/*.js",
"dist/*.cjs",
"dist/*.map",
"dist/*.d.ts",
"readme.md"
],
"scripts": {
"lint": "eslint ./src",
"test": "vitest run",
"build": "rm -rf dist/ && cp ../../readme.md readme.md && vite build",
"dev": "vite build -w",
"prepublishOnly": "pnpm run build"
},
"keywords": [
"react",
"react hooks",
"keyboard",
"keyboard shortcuts",
"key bindings",
"key combos",
"keys",
"key events"
],
"author": "Robert Hurst <robertwhurst@gmail.com>",
"license": "MIT",
"funding": "https://github.com/sponsors/RobertWHurst",
"repository": "github:RobertWHurst/Keystrokes",
"bugs": {
"email": "robertwhurst@gmail.com",
"url": "https://github.com/RobertWHurst/Keystrokes/issues/new?template=bug_report.md"
},
"peerDependencies": {
"@rwh/keystrokes": "workspace:*",
"react": ">=17"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.2",
"@rwh/keystrokes": "workspace:*",
"@types/node": "^20.4.6",
"@types/react": "^18.2.18",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^5.0.0",
"happy-dom": "^20.8.9",
"prettier": "^3.0.1",
"react": ">=17",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"vite": "^4.5.5",
"vitest": "^0.34.1"
}
}