-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.35 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
{
"name": "react-typescript-webpack",
"version": "1.0.0",
"description": "React Typescript Webpack project",
"main": "index.js",
"author": "Sergey Illarionov",
"license": "MIT",
"scripts": {
"start": "cross-env NODE_ENV=development webpack serve --config config/webpack.common.config.js",
"serve:build": "npm run build && cross-env PORT=3001 npx serve -l 3001 -s build",
"build": "cross-env NODE_ENV=production webpack --config config/webpack.common.config.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "jest"
},
"dependencies": {
"react": "17.0.2",
"react-dom": "17.0.2"
},
"devDependencies": {
"@testing-library/react": "12.1.2",
"@types/jest": "27.4.0",
"@types/mocha": "9.0.0",
"@types/react": "17.0.38",
"@types/react-dom": "17.0.11",
"@typescript-eslint/eslint-plugin": "5.8.1",
"@typescript-eslint/parser": "5.9.0",
"clean-webpack-plugin": "4.0.0",
"copy-webpack-plugin": "10.2.0",
"cross-env": "7.0.3",
"css-loader": "6.5.1",
"eslint": "8.6.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jasmine": "4.1.3",
"eslint-plugin-no-inline-styles": "1.0.5",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-webpack-plugin": "3.1.1",
"html-webpack-plugin": "5.5.0",
"mini-css-extract-plugin": "2.4.5",
"node-sass": "7.0.1",
"prettier": "2.5.1",
"sass": "1.45.2",
"sass-loader": "12.4.0",
"serve": "13.0.2",
"terser-webpack-plugin": "5.3.0",
"ts-jest": "27.1.3",
"ts-loader": "9.2.6",
"typescript": "4.5.4",
"webpack": "5.65.0",
"webpack-cli": "4.9.1",
"webpack-dev-server": "4.7.3",
"webpack-merge": "5.8.0"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"lint-staged": {
"*.+(js|jsx|ts|tsx)": [
"eslint --fix"
],
"*.+(json|css|md)": [
"prettier --write"
]
},
"jest": {
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(ts|tsx|js|jsx)$": "ts-jest"
},
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
"\\.(css|scss)$": "<rootDir>/src/__mocks__/styleMock.js"
}
}
}