-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 1.87 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
{
"name": "@buildinams/use-keydown",
"description": "React hook for listening to custom keydown events.",
"version": "0.2.0",
"license": "MIT",
"author": "Build in Amsterdam <development@buildinamsterdam.com> (https://www.buildinamsterdam.com/)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"homepage": "https://github.com/buildinamsterdam/use-keydown#readme",
"repository": {
"type": "git",
"url": "https://github.com/buildinamsterdam/use-keydown.git"
},
"bugs": {
"url": "https://github.com/buildinamsterdam/use-keydown/issues"
},
"keywords": [
"react",
"hook",
"react-hook",
"keyboard",
"keyboard-event",
"key",
"key-event"
],
"scripts": {
"build": "tsc",
"build:types": "tsc --emitDeclarationOnly",
"prepublishOnly": "npm run build",
"test": "jest",
"test:watch": "jest --watch",
"coverage": "jest --coverage",
"lint": "NODE_ENV=test npm-run-all --parallel lint:*",
"lint:script": "eslint \"src/**/*.{ts,tsx}\"",
"lint:format": "prettier \"**/*.{md,yml}\" --check",
"lint:type-check": "tsc --noEmit",
"fix": "npm-run-all --sequential fix:*",
"fix:js": "eslint \"src/**/*.{ts,tsx}\" --fix",
"fix:format": "prettier \"**/*.{md,yml}\" --write",
"depcheck": "npx npm-check --update"
},
"peerDependencies": {
"react": ">=17.0.0 || 18"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@buildinams/lint": "^0.2.1",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.3",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"babel": "^6.23.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"npm-run-all": "^4.1.5",
"react-dom": "^18.0.0",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
}
}