-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 1.65 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
{
"name": "react",
"version": "0.0.1",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"serve": "vite preview",
"format:file": "prettier --write --check",
"format": "npm run format:file -- src/",
"lint:file": "eslint --ext .ts,.js,.tsx,jsx --fix --cache",
"lint": "npm run lint:file -- src/",
"test": "jest",
"test:file": "npm test -- --coverage --bail --findRelatedTests",
"test:watch": "npm test -- --watchAll",
"prepare": "husky install"
},
"dependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@testing-library/dom": "^8.13.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.0.1",
"@testing-library/user-event": "^14.1.0",
"@types/jest": "^27.0.3",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/tailwindcss": "^2.2.4",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"@vitejs/plugin-react": "^1.0.0",
"autoprefixer": "^10.4.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.1",
"husky": "^7.0.4",
"jest": "^27.4.3",
"lint-staged": "^12.1.2",
"postcss": "^8.4.4",
"prettier": "^2.5.1",
"tailwindcss": "^3.0.0",
"ts-jest": "^27.1.0",
"typescript": "^4.3.2",
"vite": "^2.6.4",
"vite-tsconfig-paths": "^3.3.17"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"npm run lint:file",
"npm run format:file",
"npm run test:file"
]
}
}