|
1 | 1 | { |
2 | 2 | "name": "keycode-info", |
3 | 3 | "homepage": "https://uiwjs.github.io/keycode-info", |
4 | | - "version": "1.1.0", |
| 4 | + "version": "1.2.0", |
5 | 5 | "description": "A simple web page that responds to the pressed key and returns information about the JavaScript'on-key press' key.", |
6 | 6 | "private": true, |
7 | 7 | "scripts": { |
8 | 8 | "prepare": "husky install", |
9 | 9 | "start": "kkt start", |
10 | 10 | "build": "kkt build", |
11 | | - "test": "kkt test --env=jsdom", |
12 | | - "coverage": "kkt test --env=jsdom --coverage --bail", |
| 11 | + "test": "tsbb test --env=jsdom", |
| 12 | + "coverage": "tsbb test --env=jsdom --coverage --bail", |
13 | 13 | "prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'" |
14 | 14 | }, |
15 | 15 | "repository": { |
|
18 | 18 | }, |
19 | 19 | "license": "MIT", |
20 | 20 | "dependencies": { |
21 | | - "@uiw/react-json-view": "^1.0.0", |
22 | 21 | "@uiw/react-copy-to-clipboard": "^4.21.28", |
23 | 22 | "@uiw/react-github-corners": "^1.5.15", |
| 23 | + "@uiw/react-json-view": "^1.0.0", |
24 | 24 | "@wcj/dark-mode": "^1.0.15", |
25 | 25 | "react": "^18.2.0", |
26 | 26 | "react-dom": "^18.2.0" |
|
30 | 30 | "@types/react": "^18.2.13", |
31 | 31 | "@types/react-dom": "^18.2.6", |
32 | 32 | "husky": "^8.0.3", |
| 33 | + "jest-environment-jsdom": "^29.5.0", |
33 | 34 | "kkt": "7.5.1", |
34 | 35 | "lint-staged": "^13.2.2", |
35 | | - "prettier": "^2.8.8" |
| 36 | + "prettier": "^2.8.8", |
| 37 | + "tsbb": "^4.1.12" |
36 | 38 | }, |
37 | 39 | "lint-staged": { |
38 | 40 | "*.{js,jsx,tsx,ts,less,md,json}": [ |
|
54 | 56 | "<rootDir>/node_modules/?!(.*)" |
55 | 57 | ] |
56 | 58 | }, |
57 | | - "eslintConfig": { |
58 | | - "extends": [ |
59 | | - "react-app", |
60 | | - "react-app/jest" |
61 | | - ] |
62 | | - }, |
63 | 59 | "browserslist": { |
64 | 60 | "production": [ |
65 | 61 | ">0.2%", |
|
0 commit comments