-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
executable file
·202 lines (202 loc) · 7.8 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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
{
"name": "typescript-project",
"repository": {
"type": "git",
"url": "git+https://github.com/webbestmaster/typescript-project.git"
},
"bugs": {
"url": "https://github.com/webbestmaster/typescript-project/issues"
},
"homepage": "https://github.com/webbestmaster/typescript-project#readme",
"license": "MIT",
"author": {
"name": "WebBestMaster",
"email": "[email protected]"
},
"version": "0.0.0",
"description": "",
"keywords": [
"typescript-project",
"empty"
],
"main": "dist/index.js",
"types": "dist/library.d.ts",
"files": [
"/dist"
],
"engines": {
"node": ">=20.0.0"
},
"watch": {
"eslint": {
"patterns": [
"www",
"server",
"webpack"
],
"extensions": "ts,tsx",
"quiet": false
},
"ts-coverage": {
"patterns": [
"www",
"server",
"webpack"
],
"extensions": "ts,tsx",
"quiet": false
},
"stylelint": {
"patterns": [
"www"
],
"extensions": "scss",
"quiet": false
}
},
"scripts": {
"front:start-dev": "cross-env NODE_ENV=development SIDE=front webpack-cli serve --progress",
"front:start-dev:transpile-only": "cross-env NODE_ENV=development SIDE=front TS_TRANSPILE_ONLY=true webpack-cli serve --progress",
"front:build": "cross-env NODE_ENV=production SIDE=front NODE_OPTIONS=--max-old-space-size=512 webpack --progress",
"__front:build": "cross-env NODE_ENV=production SIDE=front NODE_OPTIONS=--max-old-space-size=512 NODE_OPTIONS=--no-experimental-strip-types webpack --progress",
"back:start": "cross-env NODE_ENV=production node ./dist-server/dist/index.js",
"back:build": "cross-env NODE_ENV=production SIDE=back IS_SERVER_PROD_BUILD=true NODE_OPTIONS=--max-old-space-size=512 webpack --progress",
"back:build:watch": "cross-env NODE_ENV=production SIDE=back webpack --progress --watch",
"back:nodemon": "nodemon ./dist-server/dist/index.js",
"build:prod:start": "npm run front:build && npm run back:build && npm run back:start",
"front:build-library": "cross-env NODE_ENV=production SIDE=front IS_BUILD_LIBRARY=true NODE_OPTIONS=--max-old-space-size=512 webpack --progress && npm run front:tsc-library",
"make-static-site": "cross-env MAKE_STATIC_SITE=TRUE npm run build:prod:start",
"check": "npm run ts-coverage && npm run tsc && npm run eslint && npm run stylelint",
"check:fix": "npm run prettier && npm run ts-coverage && npm run tsc && npm run eslint:fix && npm run stylelint:fix",
"eslint": "eslint .",
"eslint:fix": "eslint . --fix",
"eslint:watch": "npm-watch eslint",
"stylelint": "stylelint ./**.scss",
"stylelint:fix": "stylelint ./**.scss --fix",
"stylelint:watch": "npm-watch stylelint",
"prettier": "prettier --write \"./**/*.(js|ts|tsx)\" --log-level warn",
"tsc": "tsc -p ./tsconfig.json",
"tsc-init": "npx tsc --init",
"tsc:watch": "tsc -p ./tsconfig.json --watch",
"front:tsc-library": "tsc -p ./tsconfig.library.json && npm run front:tsc-library-css",
"front:tsc-library-css": "cross-env NODE_ENV=production SIDE=front IS_BUILD_LIBRARY=true ts-node --files ./webpack/util/library/css.ts",
"ts-coverage": "rimraf coverage-ts && typescript-coverage-report --threshold=100 --strict=true --project ./",
"ts-coverage:watch": "npm-watch ts-coverage",
"test:e2e": "jest --config='test-e2e/config/jest.config.ts' ./test-e2e/ --runInBand",
"test:unit": "jest --config='test-unit/config/jest.config.ts' ./www/ --runInBand",
"test:unit:watch": "jest --config='test-unit/config/jest.config.ts' ./www/ --runInBand --watch",
"backstop:approve": "backstop approve --config=./test-backstop/backstop-config.json",
"backstop:test": "backstop test --config=./test-backstop/backstop-config.json",
"pre-commit-hook": "npm run check",
"_postinstall": "cp ./git-hooks/pre-commit ./.git/hooks",
"__start-site": "sudo nginx -c ~/user/master-git/db-cms/site/nginx/nginx.site.conf -g 'daemon off;'",
"lighthouse:run": "ts-node --project ./tsconfig.lighthouse.json --files ./lighthouse/lighthouse.ts",
"storybook:start-dev": "storybook dev -p 6006 -c storybook",
"storybook:build": "storybook build -c storybook",
"clean-install-windows": "rd .\\node_modules\\ -r; npm i"
},
"dependencies": {
"@fastify/compress": "^8.0.1",
"@fastify/cors": "^10.0.2",
"@fastify/error": "^4.0.0",
"@fastify/multipart": "^9.0.3",
"@fastify/secure-session": "^8.1.1",
"@fastify/static": "^8.1.0",
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"@types/sharp": "^0.32.0",
"antd": "^5.24.0",
"dotenv": "^16.4.7",
"fastify": "^5.2.1",
"get-audio-duration": "^4.0.1",
"graphql": "^16.10.0",
"jszip": "^3.10.1",
"markdown-pro": "^1.1.8",
"node-lame": "^1.3.2",
"petsdb": "^0.5.2",
"react": "^19.0.0",
"react-audio-player-pro": "^1.3.3",
"react-dom": "^19.0.0",
"react-localization-library": "^1.1.3",
"react-router-dom": "^7.1.5",
"react-system-hook": "^1.0.9",
"sharp": "^0.33.5",
"synced-delay": "^1.1.3",
"webp-converter": "^2.3.3"
},
"devDependencies": {
"@babel/core": "^7.26.8",
"@babel/plugin-transform-strict-mode": "^7.25.9",
"@eslint/js": "^9.20.0",
"@storybook/addon-actions": "^8.5.5",
"@storybook/addon-essentials": "^8.5.5",
"@storybook/addon-interactions": "^8.5.5",
"@storybook/addon-links": "^8.5.5",
"@storybook/blocks": "^8.5.5",
"@storybook/builder-webpack5": "^8.5.5",
"@storybook/manager-webpack5": "^6.5.16",
"@storybook/react": "^8.5.5",
"@storybook/react-webpack5": "^8.5.5",
"@storybook/testing-library": "^0.2.2",
"@testing-library/react": "^16.2.0",
"@types/circular-dependency-plugin": "^5.0.8",
"@types/duplicate-package-checker-webpack-plugin": "^2.1.5",
"@types/script-ext-html-webpack-plugin": "^2.1.6",
"@types/webpack-bundle-analyzer": "^4.7.0",
"@types/webpack-node-externals": "^3.0.4",
"ajv": "^8.17.1",
"babel-loader": "^9.2.1",
"backstopjs": "^6.3.25",
"circular-dependency-plugin": "^5.2.2",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"css-module-typescript-loader": "^0.0.4",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"eslint": "^9.20.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sonarjs": "^3.0.1",
"eslint-plugin-unicorn": "^56.0.1",
"html-webpack-plugin": "^5.6.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-stub": "^2.0.0",
"lighthouse": "^12.3.0",
"mini-css-extract-plugin": "^2.9.2",
"nodemon": "^3.1.9",
"npm-watch": "^0.13.0",
"prettier": "^3.5.0",
"puppeteer": "^24.2.0",
"raw-loader": "^4.0.2",
"sass": "^1.84.0",
"sass-loader": "^16.0.4",
"script-ext-html-webpack-plugin": "^2.1.5",
"semantic-ui-react": "^2.1.5",
"storybook": "^8.5.5",
"style-loader": "^4.0.0",
"stylelint": "^16.14.1",
"stylelint-config-standard": "^37.0.0",
"stylelint-config-standard-scss": "^14.0.0",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.11.0",
"terser-webpack-plugin": "^5.3.11",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"typescript": "^5.7.3",
"typescript-coverage-report": "^1.1.0",
"typescript-eslint": "^8.24.0",
"webpack": "^5.97.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.0",
"webpack-node-externals": "^3.0.0"
}
}