-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
71 lines (71 loc) · 1.77 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
{
"name": "keycode-info",
"homepage": "https://uiwjs.github.io/keycode-info",
"version": "1.2.0",
"description": "A simple web page that responds to the pressed key and returns information about the JavaScript'on-key press' key.",
"private": true,
"scripts": {
"prepare": "husky install",
"start": "kkt start",
"build": "kkt build",
"test": "tsbb test --env=jsdom",
"coverage": "tsbb test --env=jsdom --coverage --bail",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'"
},
"repository": {
"type": "git",
"url": "https://github.com/uiwjs/keycode-info.git"
},
"license": "MIT",
"dependencies": {
"@uiw/react-copy-to-clipboard": "^4.22.0",
"@uiw/react-github-corners": "^1.5.15",
"@uiw/react-json-view": "^2.0.0-alpha.7",
"@wcj/dark-mode": "^1.0.15",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": "^6.0.7"
},
"devDependencies": {
"@types/react": "^18.2.13",
"@types/react-dom": "^18.2.6",
"husky": "^8.0.3",
"jest-environment-jsdom": "^29.5.0",
"kkt": "^7.5.2",
"lint-staged": "^14.0.0",
"prettier": "^3.0.1",
"tsbb": "^4.1.12"
},
"lint-staged": {
"*.{js,jsx,tsx,ts,less,md,json}": [
"prettier --write"
]
},
"jest": {
"coverageReporters": [
"lcov",
"json-summary"
],
"testMatch": [
"<rootDir>/src/**/*.test.{ts,tsx}"
],
"collectCoverageFrom": [
"<rootDir>/src/app/*.{tsx,ts}"
],
"transformIgnorePatterns": [
"<rootDir>/node_modules/?!(.*)"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}