forked from reecelucas/react-use-hotkeys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.23 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
76
77
78
79
{
"name": "@reecelucas/react-use-hotkeys",
"version": "1.3.1",
"description": "React hook to create keyboard shortcuts",
"main": "lib/index.js",
"module": "esm/index.js",
"files": [
"lib/",
"esm/"
],
"scripts": {
"start": "yarn storybook",
"storybook": "start-storybook -p 8000",
"test": "jest src/__tests__/ --testPathIgnorePatterns src/__tests__/helpers",
"test:cover": "yarn test --coverage --collectCoverageFrom=\"src/index.ts\"",
"coveralls": "cat coverage/lcov.info | node node_modules/.bin/coveralls",
"lint": "tslint \"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"
},
"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.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@storybook/addon-knobs": "^5.0.6",
"@storybook/addons": "^5.0.6",
"@storybook/react": "^5.0.6",
"@types/jest": "^24.0.11",
"@types/react": "^16.8.12",
"@types/storybook__addon-knobs": "^4.0.5",
"@types/storybook__react": "^4.0.1",
"babel-jest": "^24.7.1",
"babel-loader": "^8.0.5",
"coveralls": "^3.0.3",
"husky": "^1.3.1",
"jest": "^24.7.1",
"prettier": "^1.16.4",
"react-testing-library": "^6.0.4",
"tslint": "^5.15.0",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^4.0.0",
"typescript": "^3.4.1"
},
"dependencies": {
"shim-keyboard-event-key": "^1.0.3"
},
"husky": {
"hooks": {
"pre-push": "yarn lint && yarn format && yarn test"
}
}
}