-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
75 lines (75 loc) · 2.18 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
67
68
69
70
71
72
73
74
75
{
"name": "@reecelucas/react-use-hotkeys",
"version": "2.0.0",
"description": "React hook to create keyboard shortcuts",
"main": "lib/index.js",
"module": "esm/index.js",
"files": [
"lib/",
"esm/"
],
"scripts": {
"start": "start-storybook -p 6006",
"test": "jest",
"test:cover": "jest --coverage",
"coveralls": "cat coverage/lcov.info | node node_modules/.bin/coveralls",
"lint": "eslint \"src/**/*.{ts,tsx}\" && prettier --check \"src/**/*.{ts,tsx}\"",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"build:cjs": "tsc",
"build:esm": "tsc -m esNext --outDir esm",
"build": "yarn build:cjs && yarn build:esm",
"prepublishOnly": "yarn lint && yarn test && yarn build",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reecelucas/react-use-hotkeys.git"
},
"keywords": [
"react",
"hook",
"react-hooks",
"hotkeys",
"keyboard",
"shortcut",
"react-use",
"use"
],
"author": "Reece Lucas <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/reecelucas/react-use-hotkeys/issues"
},
"homepage": "https://github.com/reecelucas/react-use-hotkeys#readme",
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@storybook/builder-webpack4": "^6.5.10",
"@storybook/manager-webpack4": "^6.5.10",
"@storybook/react": "^6.5.10",
"@testing-library/react": "^13.3.0",
"@types/jest": "^29.0.0",
"@types/react": "^18.0.18",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"babel-jest": "^29.0.1",
"babel-loader": "^8.2.5",
"coveralls": "^3.1.1",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"jest": "^29.0.1",
"jest-environment-jsdom": "^29.0.1",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.8.2"
}
}