forked from HashemKhalifa/webpack-react-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (138 loc) · 4.33 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
{
"name": "minimal-webpack-react",
"version": "2.0.0",
"description": "Boilerplate for react and webpack",
"main": "index.js",
"scripts": {
"start": "cross-env NODE_ENV=development webpack serve --open",
"build": "cross-env NODE_ENV=production webpack",
"format": "prettier --write '**/*.js' --ignore-path .gitignore",
"lint": "eslint -c .eslintrc --fix $(git diff --name-only remotes/origin/master... --diff-filter=d | grep -E \"(.js$|.ts$|.tsx$|.jsx)\")",
"test": "jest",
"test-watch": "jest --watchAll --coverage"
},
"lint-staged": {
"*.{js,jsx,ts,tsx, yml}": [
"prettier --write --single-quote",
"eslint --fix",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"testEnvironment": "jsdom",
"moduleDirectories": [
"src",
"node_modules"
],
"moduleNameMapper": {
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.js",
"\\.(jpg|gif|ttf|eot|svg)$": "<rootDir>/__mocks__/fileMock.js"
},
"transform": {
"^.+\\.(js|jsx)$": "babel-jest",
".+\\.(css|styl|less|sass|scss)$": "<rootDir>/node_modules/jest-css-modules-transform"
},
"setupFilesAfterEnv": ["<rootDir>/setupTests.js"],
"moduleFileExtensions": [
"css",
"scss",
"js",
"json",
"jsx"
]
},
"repository": "https://github.com/HashemKhalifa/webpack-react-boilerplate",
"author": "HashemKhalifa",
"license": "ISC",
"private": false,
"engines": {
"node": ">=8",
"npm": ">=3"
},
"dependencies": {
"@babel/plugin-transform-react-constant-elements": "7.14.5",
"@babel/plugin-transform-react-inline-elements": "7.14.5",
"babel-plugin-transform-react-pure-class-to-function": "1.0.1",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"babel-plugin-import": "^1.13.1",
"core-js": "3.16.1",
"lodash": "4.17.21",
"prop-types": "15.7.2",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-hot-loader": "4.13.0"
},
"resolutions": {
"babel-core": "7.0.0-bridge.0"
},
"devDependencies": {
"@babel/core": "7.15.0",
"@babel/plugin-proposal-class-properties": "7.14.5",
"@babel/plugin-proposal-decorators": "7.14.5",
"@babel/plugin-proposal-export-namespace-from": "7.14.5",
"@babel/plugin-proposal-function-sent": "7.14.5",
"@babel/plugin-proposal-json-strings": "7.14.5",
"@babel/plugin-proposal-numeric-separator": "7.14.5",
"@babel/plugin-proposal-throw-expressions": "7.14.5",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/plugin-transform-runtime": "7.15.0",
"@babel/preset-env": "7.15.0",
"babel-preset-react-optimize": "1.0.1",
"@babel/preset-react": "7.14.5",
"@babel/register": "7.14.5",
"@babel/runtime": "7.14.8",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "25.5.1",
"babel-loader": "8.2.2",
"babel-plugin-lodash": "3.3.4",
"browserslist": "4.16.7",
"clean-webpack-plugin": "3.0.0",
"connect-history-api-fallback": "1.6.0",
"cross-env": "7.0.3",
"css-loader": "3.6.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
"eslint": "7.32.0",
"eslint-config-airbnb": "18.2.1",
"eslint-config-prettier": "7.2.0",
"eslint-webpack-plugin": "2.5.4",
"eslint-plugin-import": "2.24.0",
"eslint-plugin-jest": "23.20.0",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-react": "7.24.0",
"eslint-watch": "7.0.0",
"file-loader": "6.2.0",
"koa-connect": "2.1.0",
"html-webpack-plugin": "4.5.2",
"script-ext-html-webpack-plugin": "2.1.5",
"husky": "6.0.0",
"identity-obj-proxy": "3.0.0",
"jest": "25.5.4",
"jest-css-modules-transform": "4.3.0",
"jest-enzyme": "7.1.2",
"jest-fetch-mock": "3.0.3",
"jsdom": "16.7.0",
"lint-staged": "11.1.2",
"mini-css-extract-plugin": "0.12.0",
"sass": "1.37.5",
"npm-check-updates": "10.3.1",
"prettier": "2.3.2",
"pretty-quick": "2.0.2",
"sass-loader": "8.0.2",
"style-loader": "1.3.0",
"webpack": "4.46.0",
"webpack-cli": "4.7.2",
"webpack-dev-server": "3.11.2",
"optimize-css-assets-webpack-plugin": "6.0.1",
"terser-webpack-plugin": "4.2.3",
"webpack-merge": "4.2.2"
}
}