-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.48 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.48 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
119
120
121
122
123
124
{
"name": "your-event-app-front",
"version": "0.1.0",
"description": "",
"main": "src/index.js",
"scripts": {
"start": "webpack-dev-server --env.NODE_ENV=development",
"build": "webpack --env.NODE_ENV=production",
"test": "jest .",
"test:watch": "npm run test --watch",
"lint": "prettier --write \"src/**/*.+(js|jsx|json)\" && eslint --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Devs-101/frontend.git"
},
"author": "Devs-101",
"license": "MIT",
"bugs": {
"url": "https://github.com/Devs-101/frontend/issues"
},
"homepage": "https://github.com/Devs-101/frontend#readme",
"devDependencies": {
"@babel/core": "^7.11.1",
"@babel/polyfill": "^7.10.4",
"@babel/preset-env": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"@testing-library/react": "^10.4.8",
"@types/jest": "^26.0.10",
"babel-jest": "^26.3.0",
"babel-loader": "^8.1.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^6.0.3",
"dotenv": "^8.2.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.3",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.20.6",
"eslint-plugin-standard": "^4.0.1",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"husky": "^4.2.5",
"jest": "^26.4.0",
"jest-fetch-mock": "^3.0.3",
"jest-styled-components": "^7.0.2",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"prettier-eslint": "^11.0.0",
"prettier-eslint-cli": "^5.0.0",
"url-loader": "^4.1.0",
"webpack": "^4.44.1",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0"
},
"dependencies": {
"@reduxjs/toolkit": "^1.4.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-hook-form": "^6.4.0",
"react-router-dom": "^5.2.0",
"react-redux": "^7.2.1",
"styled-components": "^5.1.1",
"styled-loaders-react": "^1.1.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"lint-staged": {
"*.{js,jsx}": "eslint --cache --fix",
"*.{js,jsx,css,scss,md}": "prettier --write"
},
"jest": {
"setupFiles": [
"<rootDir>/jest.setup.js"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"modulePaths": [
"<rootDir>/src"
],
"moduleNameMapper": {
"\\.(jpg|ico|jpeg|png|gif|svg)$": "<rootDir>/__mocks__/fileMock.js"
},
"collectCoverage": true,
"collectCoverageFrom": [
"src/components/**/**/*.{js,jsx}",
"!src/components/**/**/index.js",
"!src/components/**/index.js",
"src/pages/**/*.{js,jsx}",
"!src/pages/index.js",
"!src/pages/**/index.js",
"src/templates/**/*.{js,jsx}",
"!src/templates/index.js",
"!src/templates/**/index.js",
"src/services/**/*.{js,jsx}",
"src/services/*.{js,jsx}",
"!src/services/**/index.{js,jsx}",
"!src/services/index.{js,jsx}",
"src/utils/**/*.{js,jsx}",
"src/utils/*.{js,jsx}",
"!src/utils/**/index.js",
"!src/utils/index.js"
],
"coverageThreshold": {
"global": {
"branches": 70,
"functions": 70,
"lines": 70,
"statements": -10
}
}
}
}