-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.45 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
{
"name": "gallery",
"private": true,
"version": "0.0.1",
"type": "module",
"engines": {
"node": ">=20.11.1",
"pnpm": ">=8.15.4"
},
"scripts": {
"dev": "vite --open",
"start": "vite --open --host",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint src --ext .ts,.tsx,.js,.jsx",
"lintfix": "eslint src --ext .ts,.tsx,.js,.jsx --fix",
"format": "prettier \"src/**/*.{ts,tsx,js,jsx}\" --write",
"formatcheck": "prettier \"src/**/*.{ts,tsx,js,jsx}\" --check",
"stylelint": "stylelint \"src/**/*.{scss,css}\"",
"testwatch": "jest --watch --colors --passWithNoTests",
"test": "jest --colors --passWithNoTests",
"prepare": "husky install"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/preset-env": "^7.24.0",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.64",
"@types/react-dom": "^18.2.21",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-react-refresh": "^0.4.5",
"eslint-plugin-testing-library": "^6.2.0",
"husky": "^8.0.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"postcss": "^8.4.35",
"prettier": "^3.2.5",
"react-test-renderer": "^18.2.0",
"sass": "^1.72.0",
"stylelint": "^16.2.1",
"stylelint-config-standard-scss": "^13.0.0",
"ts-jest": "^29.1.2",
"typescript": "^5.2.2",
"vite": "^5.1.6"
},
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/setupTests.ts"
],
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
}
},
"lint-staged": {
"src/**/*.{scss,css}": "stylelint",
"src/**/*.{ts,tsx,js,jsx}": [
"prettier --write",
"eslint"
]
}
}