-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
145 lines (145 loc) · 5.27 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "react-project-template",
"author": {
"name": "qDanik",
"email": "qdanik@yandex.ru",
"url": "https://vk.com/qdanik"
},
"engines": {
"node": ">= 20"
},
"version": "4.0.0",
"main": "src/presentation/web/index.tsx",
"scripts": {
"preview": "platform=web vite preview --config ./setup/vite/config.ts --mode=preview",
"start": "platform=web vite --config ./setup/vite/config.ts --host --mode=dev",
"start:web:stage": "platform=web vite --config ./setup/vite/config.ts --host --mode=stage",
"build:web": "platform=web vite --config ./setup/vite/config.ts build --mode=prod",
"preview:mobile": "platform=mobile vite preview --config ./setup/vite/config.ts --mode=preview",
"start:mobile": "platform=mobile vite --config ./setup/vite/config.ts --host --mode=dev",
"start:mobile:stage": "platform=mobile vite --config ./setup/vite/config.ts --host --mode=stage",
"build:mobile": "platform=mobile vite --config ./setup/vite/config.ts build --mode=prod",
"build": "npm run build:web && npm run build:mobile",
"lint": "npm run eslint && npm run tslint",
"eslint": "eslint \"./{src,setup}/**/*.{ts,tsx}\" --max-warnings 0",
"eslint:fix": "eslint \"./{src,setup}/**/*.{ts,tsx}\" --max-warnings 0 --fix",
"eslint:perf": "TIMING=1 npm run eslint",
"tslint": "tsc --pretty --noEmit",
"test": "jest --config ./setup/jest/config.ts --verbose --runInBand",
"test:ci": "jest --config ./setup/jest/config.ts --no-cache --coverage",
"postinstall": "husky ./setup/husky && chmod ug+x ./setup/husky/*",
"pre-commit": "lint-staged",
"pre-push": "npm run build",
"commitlint": "commitlint -e",
"generate": "node --no-warnings --experimental-loader esbuild-node-loader ./setup/plopjs/index.ts",
"docker:up": "docker-compose -f ./docker/docker-compose.yml up -d --build",
"docker:stop": "docker-compose -f ./docker/docker-compose.yml stop",
"docker:down": "docker-compose -f ./docker/docker-compose.yml down"
},
"dependencies": {
"ahooks": "^3.8.0",
"axios": "^1.7.2",
"date-fns": "^3.6.0",
"i18next": "^23.11.5",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-http-backend": "^2.5.2",
"i18next-resources-to-backend": "^1.2.1",
"inversify": "^6.0.2",
"lodash": "^4.17.21",
"mobx": "^6.13.0",
"mobx-react": "^9.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-helmet": "^6.1.0",
"react-hook-form": "^7.52.1",
"react-i18next": "^14.1.2",
"react-router": "^6.24.1",
"react-router-dom": "^6.24.1",
"reflect-metadata": "^0.2.2",
"styled-components": "^6.1.11",
"yup": "^1.4.0"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.24.7",
"@babel/plugin-transform-react-jsx": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@babel/register": "^7.24.6",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/compat": "^1.1.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.6.0",
"@svgr/core": "^8.1.0",
"@svgr/plugin-jsx": "^8.1.0",
"@svgr/plugin-svgo": "^8.1.0",
"@testing-library/dom": "^10.3.1",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.6",
"@types/node": "^20.14.10",
"@types/react-dom": "^18.3.0",
"@types/styled-components": "^5.1.34",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react-swc": "^3.7.0",
"dotenv": "^16.4.5",
"esbuild-node-loader": "^0.8.0",
"eslint": "^9.6.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-path": "^1.3.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-unused-imports": "^4.0.0",
"globals": "^15.8.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-styled-components": "^7.2.0",
"less": "^4.2.0",
"lint-staged": "^15.2.7",
"plop": "^4.0.1",
"prettier": "^3.3.2",
"pretty-format": "^29.7.0",
"rollup-plugin-delete": "^2.0.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.3",
"vite": "^5.3.3",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.2",
"vite-plugin-mkcert": "^1.17.5",
"vite-tsconfig-paths": "^4.3.2"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.18.1"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"extends": [
"./setup/eslint.config.js"
]
},
"babel": {
"extends": "./setup/.babelrc"
},
"lint-staged": {
"*.{ts,tsx}": [
"jest --config ./setup/jest/config.ts --silent --watchAll=false --coverage=false --findRelatedTests --passWithNoTests",
"eslint \"./{src,setup}/**/*.{ts,tsx}\" --max-warnings 0 --fix"
]
}
}