-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
108 lines (108 loc) · 3.06 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "reakeys",
"version": "2.0.3",
"description": "React Hotkeys Hooks",
"scripts": {
"build": "vite build --mode library",
"build-storybook": "storybook build",
"chromatic": "npx chromatic --project-token 7cu2w5t1r8a --auto-accept-changes",
"lint": "eslint --ext js,ts,tsx",
"lint:fix": "eslint --ext js,ts,tsx --fix src",
"lint:prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
"prettier": "prettier --loglevel warn --write 'src/**/*.{ts,tsx,js,jsx}'",
"start": "storybook dev -p 9009",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest run --coverage --passWithNoTests",
"prepare": "husky install"
},
"type": "module",
"types": "dist/index.d.ts",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"source": "src/index.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs",
"types": "./dist/index.d.ts"
}
},
"browser": "dist/index.js",
"typings": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/reaviz/reakeys.git"
},
"files": [
"dist"
],
"keywords": [
"react",
"reactjs",
"mousetrap",
"hotkeys"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/reaviz/reakeys/issues"
},
"homepage": "https://github.com/reaviz/reakeys#readme",
"dependencies": {
"ctrl-keys": "^1.0.3"
},
"peerDependencies": {
"react": ">=16",
"react-dom": ">=16"
},
"devDependencies": {
"@storybook/addon-docs": "^7.0.20",
"@storybook/addon-essentials": "7.0.20",
"@storybook/addon-mdx-gfm": "7.0.20",
"@storybook/addon-storysource": "^7.0.20",
"@storybook/addons": "7.0.20",
"@storybook/react": "7.0.20",
"@storybook/react-vite": "^7.0.20",
"@storybook/theming": "7.0.20",
"@types/classnames": "^2.3.1",
"@types/react": "^18.2.12",
"@types/react-dom": "^18.2.5",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/coverage-c8": "^0.32.0",
"chromatic": "^6.19.7",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^35.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.12",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup-plugin-peer-deps-external": "2.2.4",
"storybook": "7.0.20",
"typescript": "*",
"vite": "^4.3.9",
"vite-plugin-checker": "^0.6.0",
"vite-plugin-css-injected-by-js": "^3.1.1",
"vite-plugin-dts": "^2.3.0",
"vite-plugin-svgr": "^3.2.0",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.32.0"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}