/
package.json
82 lines (82 loc) · 2.58 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
{
"name": "my-app",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"build": "tsc && vite build",
"dev": "vite --port 3000 --strictPort --host",
"format": "prettier -uw --cache --ignore-path .gitignore \"./**/*.{js,ts,tsx,json,cjs}\"",
"lint": "run-p run-tsc run-eslint run-stylelint",
"lint-staged": "lint-staged",
"prepare": "husky install",
"preview": "vite preview",
"run-eslint": "eslint --cache --fix --ignore-path .gitignore --ext .js,.cjs,.ts,.tsx .",
"run-stylelint": "stylelint --cache --fix --ignore-path .gitignore **/*.{css,scss}",
"run-tsc": "tsc",
"test": "vitest",
"test:ci": "vitest run",
"test:watch": "vitest watch",
"validate": "run-p lint test:ci"
},
"dependencies": {
"classnames": "^2.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@nabla/vite-plugin-eslint": "^1.4.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@vitejs/plugin-react": "^2.1.0",
"autoprefixer": "^10.4.12",
"eslint": "^8.24.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.1",
"jsdom": "^20.0.0",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.16",
"postcss-scss": "^4.0.5",
"postcss-syntax": "^0.36.2",
"prettier": "^2.7.1",
"sass": "^1.55.0",
"stylelint": "^14.13.0",
"stylelint-config-prettier-scss": "^0.0.1",
"stylelint-config-standard-scss": "^5.0.0",
"stylelint-scss": "^4.3.0",
"ts-node": "^10.9.1",
"typescript": "^4.6.4",
"vite": "^3.1.0",
"vite-plugin-sass-dts": "^1.1.42",
"vite-tsconfig-paths": "^3.5.1",
"vitest": "^0.23.4"
},
"browserslist": {
"production": "Edge >= 18, Firefox >= 60, Chrome >= 61, Safari >= 11, Opera >= 48",
"development": [
"last 1 chrome version",
"last 1 firefox version"
]
},
"lint-staged": {
"*": "prettier -uw --cache",
"*.{css,scss}": "stylelint --cache --fix",
"*.{ts,tsx}": [
"eslint --cache --fix",
"vitest related --run --coverage=false"
]
}
}