-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
71 lines (71 loc) · 1.78 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": "vehicle-plate-keyboard",
"license": "MIT",
"version": "0.9.0-beta.1",
"description": "Chinese vehicle plate number keyboard for React",
"author": "LiuuY <mail4c59@gmail.com>",
"private": false,
"files": [
"dist"
],
"main": "./dist/vehicle-plate-keyboard.umd.js",
"module": "./dist/vehicle-plate-keyboard.es.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/vehicle-plate-keyboard.es.js",
"require": "./dist/vehicle-plate-keyboard.umd.js"
}
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"test": "npx playwright test --headed",
"test:ci": "npx playwright test",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"lint": "eslint",
"lint:fix": "eslint --fix"
},
"dependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"peerDependencies": {
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"devDependencies": {
"@playwright/test": "^1.23.1",
"@types/eslint": "^8.4.3",
"@types/node": "^18.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"@vitejs/plugin-react": "^1.3.0",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-preset-env": "^7.7.2",
"postcss-px-to-viewport": "^1.1.1",
"prettier": "^2.7.1",
"sass": "^1.53.0",
"typescript": "^4.6.3",
"vite": "^2.9.9",
"vite-plugin-dts": "^1.2.0"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"yarn lint:fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}