-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
85 lines (85 loc) · 2.05 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
{
"name": "boilerplate_vitetsreact",
"author": {
"name": "Noelia Donato",
"url": "https://github.com/nsdonato"
},
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"prepare": "husky install",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint --ignore-path .gitignore . --ext .ts,.tsx",
"lint:fix": "npm run lint -- --fix"
},
"browserslist": [
"defaults",
"not IE 11"
],
"dependencies": {
"jest-environment-jsdom": "^28.1.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-router-dom": "^6.3.0"
},
"devDependencies": {
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.1",
"@types/jest": "^28.1.3",
"@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",
"autoprefixer": "^10.4.7",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^28.1.1",
"lint-staged": "^13.0.3",
"postcss": "^8.4.14",
"prettier": "2.7.1",
"tailwindcss": "^3.1.4",
"ts-jest": "^28.0.5",
"typescript": "^4.6.3",
"vite": "^2.9.9"
},
"lint-staged": {
"*.{ts,tsx,md,css}": [
"eslint",
"prettier --write"
]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/"
],
"setupFilesAfterEnv": [
"<rootDir>/jest-setup.ts"
],
"moduleNameMapper": {
"\\.(css|less)$": "identity-obj-proxy"
}
}
}