-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.44 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 3.44 KB
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
{
"name": "react-typescript-webpack-starter",
"version": "1.0.0",
"description": "A starter template for React with Typescript using Webpack 5",
"theme-color": "#000000",
"background-color": "#ffffff",
"scripts": {
"start": "webpack serve --config webpack/webpack.config.js --env env=dev",
"build": "webpack --config webpack/webpack.config.js --env env=prod",
"lint": "yarn lint:web",
"lint:web": "eslint --fix \"web/**/*.{js,jsx,ts,tsx,json}\"",
"test": "jest",
"test:watch": "jest --watch"
},
"keywords": [
"React",
"TypeScript",
"Webpack 5",
"Starter Template",
"Boilerplate"
],
"author": "Vishwas",
"dependencies": {
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@material-ui/core": "^4.11.4",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.58",
"@mui/icons-material": "^5.8.2",
"@mui/material": "^5.8.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-router-dom": "^6.3.0",
"workbox-background-sync": "^6.1.5",
"workbox-cacheable-response": "^6.1.5",
"workbox-core": "^6.1.5",
"workbox-expiration": "^6.1.5",
"workbox-precaching": "^6.1.5",
"workbox-routing": "^6.1.5",
"workbox-strategies": "^6.1.5",
"workbox-window": "^6.1.5"
},
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-env": "^7.12.16",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.12.16",
"@babel/runtime": "^7.13.10",
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
"@types/enzyme": "^3.10.8",
"@types/jest": "^26.0.23",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.2",
"babel-loader": "^8.2.2",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^9.0.0",
"css-loader": "^5.0.2",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^7.19.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"html-webpack-plugin": "^5.1.0",
"husky": "4",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.0.4",
"lint-staged": "^10.5.4",
"react-refresh": "^0.9.0",
"responsive-loader": "^2.3.0",
"sharp": "^0.28.3",
"style-loader": "^2.0.0",
"typescript": "^4.1.5",
"webpack": "^5.21.2",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^3.11.2",
"webpack-merge": "^5.7.3",
"webpack-pwa-manifest": "^4.3.0",
"workbox-webpack-plugin": "^6.1.5"
},
"jest": {
"testMatch": [
"<rootDir>/__tests__/**/*.[jt]s?(x)"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "identity-obj-proxy",
"\\.(css|less)$": "identity-obj-proxy"
},
"extensionsToTreatAsEsm": [
".ts"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"setupFiles": [
"<rootDir>/setupTests.js"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"web/**/*.{js,jsx,ts,tsx}": [
"jest --findRelatedTests"
],
"functions/src/**/*.{js,ts}": [
"jest --findRelatedTests"
]
}
}