-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 4.73 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
{
"name": "react-playground",
"version": "0.0.1",
"description": "project is aimed to study react stack",
"author": "Rodionov Maxim <[email protected]>",
"license": "MIT",
"scripts": {
"start:dev": "npm run config:dev && webpack serve",
"start:prod": "./tools/nginx/nginx-docker.sh run",
"app:build": "run-s -ln app:build:*",
"app:build:stage-0": "rm -rf dist/",
"app:build:stage-1": "run-p -ln g:all-to-check",
"app:build:stage-2": "BUILD_MODE=production webpack && npm run config:prod",
"app:build:stage-3": "./tools/nginx/nginx-docker.sh build",
"config:dev": "APP_CONFIG_MODE=DEV ./tools/app-config/app-config-generator.js",
"config:prod": "APP_CONFIG_MODE=PROD ./tools/app-config/app-config-generator.js",
"eslint:base": "eslint --format=codeframe --max-warnings=0 --ext=js,ts,tsx",
"eslint:all": "run-s -ln 'eslint:base ./'",
"stylelint:base": "stylelint -f unix",
"stylelint:all": "run-s -ln 'stylelint:base src/**/*.scss'",
"js-type-check:base": "tsc --skipLibCheck --allowJs --checkJs --noEmit --resolveJsonModule",
"js-type-check:all": "npm run js-type-check:base ./*.js ./.*.js ./src/.*.js tools/**/*.js",
"lint:all": "run-p -ln eslint:all stylelint:all js-type-check:all cspell:all",
"prettier:fix": "prettier --write --list-different './'",
"jest:watch": "jest --watch",
"jest": "jest --coverage",
"testcafe:dev": "E2E_MODE=dev testcafe chrome --live",
"testcafe:prod": "APP_PORT=5000 E2E_MODE=prod testcafe --app 'npm run start:prod'",
"depcruise:validate": "depcruise --config tools/depcruise/depcruise.validate.js src",
"docs:images-generate": "./tools/docs/docs-images-generate.sh",
"pre-commit": "run-p -ln lint:all",
"pre-push": "run-s -ln pre-push:stage-1 pre-push:stage-2",
"pre-push:stage-1": "run-p -ln lint:all app:build jest",
"pre-push:stage-2": "run-p -ln testcafe:prod depcruise:validate",
"g:slice": "plop slice",
"g:react-fc": "plop react-fc",
"g:all-to-check": "./tools/plop/generate-templates-to-check.sh",
"cspell:base": "cspell lint --no-progress",
"cspell:all": "cspell lint --no-progress $(git ls-files)",
"i18n:extract-keys": "i18next --config tools/i18n/parser.config.js",
"postinstall": "husky install"
},
"lint-staged": {
"*.{md,json,yaml,yml}": "prettier --write",
"*.{scss,css}": [
"prettier --write",
"npm run stylelint:base"
],
"*.{ts,tsx}": [
"prettier --write",
"npm run eslint:base"
],
"*.js": [
"prettier --write",
"npm run eslint:base",
"npm run js-type-check:base"
],
"*": [
"npm run cspell:base"
]
},
"browserslist": [
"last 3 version"
],
"dependencies": {
"classnames": "2.3.1",
"core-js": "3.19.1",
"i18next": "21.4.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-redux": "7.2.6",
"react-router5": "8.0.1",
"redux": "4.1.2",
"redux-devtools-extension": "2.13.9",
"redux-observable": "2.0.0",
"redux-router5": "8.0.1",
"router5": "8.0.1",
"router5-plugin-browser": "8.0.1",
"rxjs": "7.4.0",
"tslib": "2.3.1"
},
"devDependencies": {
"@cspell/dict-ru_ru": "2.0.2",
"@testing-library/react": "12.1.2",
"@testing-library/user-event": "13.5.0",
"@types/classnames": "2.3.0",
"@types/eslint": "7.28.0",
"@types/html-webpack-plugin": "3.2.6",
"@types/jest": "27.0.2",
"@types/prettier": "2.4.1",
"@types/react": "17.0.34",
"@types/react-dom": "17.0.11",
"@types/react-redux": "7.1.20",
"@types/stylelint": "13.13.2",
"@typescript-eslint/eslint-plugin": "4.32.0",
"@typescript-eslint/parser": "4.32.0",
"autoprefixer": "10.3.6",
"cspell": "5.12.6",
"css-loader": "6.3.0",
"css-mqpacker": "7.0.0",
"cssnano": "5.0.8",
"dependency-cruiser": "10.6.0",
"eslint": "7.32.0",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-jest": "24.5.0",
"eslint-plugin-react": "7.26.1",
"eslint-plugin-react-hooks": "4.2.0",
"factory-t": "0.3.1",
"html-webpack-plugin": "5.5.0",
"husky": "7.0.4",
"i18next-parser": "5.0.0",
"jest": "27.3.1",
"lint-staged": "11.2.6",
"mini-css-extract-plugin": "2.4.4",
"node-sass": "6.0.1",
"npm-run-all": "4.1.5",
"plop": "2.7.6",
"postcss": "8.3.8",
"postcss-loader": "6.1.1",
"prettier": "2.4.1",
"sass-loader": "12.1.0",
"style-loader": "3.3.0",
"stylelint": "13.13.1",
"stylelint-config-recommended": "5.0.0",
"stylelint-scss": "3.21.0",
"testcafe": "1.17.0",
"ts-jest": "27.0.7",
"ts-loader": "9.2.6",
"typescript": "4.4.4",
"webpack": "5.62.1",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.1",
"webpack-dev-server": "4.4.0"
}
}