-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 3.34 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 3.34 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
{
"name": "react-micro-blog",
"version": "0.1.0",
"private": true,
"author": "Yuri Ramos",
"license": "MIT",
"engines": {
"node": ">=10.0.0"
},
"dependencies": {
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"sass": "^1.35.1"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.9.0",
"@babel/runtime": "^7.8.4",
"@svgr/webpack": "^5.1.0",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^10.0.2",
"@types/jest": "^25.2.1",
"@types/react": "^16.8.24",
"@types/react-dom": "^16.0.5",
"@types/webpack": "4.1.4",
"axios": "^0.21.2",
"babel-jest": "^25.1.0",
"babel-loader": "^8.0.6",
"babel-preset-jest": "^25.1.0",
"css-loader": "^3.4.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-15": "^1.4.1",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"file-loader": "^5.0.2",
"html-webpack-plugin": "^3.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^25.3.0",
"jest-transform-css": "^2.0.0",
"local-storage": "^2.0.0",
"react-dev-utils": "^11.0.4",
"react-test-renderer": "^16.12.0",
"sass-loader": "^8.0.2",
"style-loader": "^1.1.3",
"svg-inline-loader": "^0.8.0",
"ts-jest": "^25.4.0",
"ts-loader": "^6.2.1",
"typescript": "^3.4.3",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
},
"scripts": {
"start": "webpack-dev-server --mode development --open --hot",
"build": "webpack --mode production",
"test": "jest",
"test:coverage": "jest --coverage --watchAll=false",
"test:watch": "jest --watch",
"installation": "npm install"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"jest": {
"verbose": false,
"testURL": "http://localhost/",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "identity-obj-proxy"
},
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"transformIgnorePatterns": [
"/node_modules/",
"/my-custom-transform/"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js, ts,tsx, jsx}",
"!src/utils/*.{js, ts,tsx, jsx}",
"!src/styles/**/*.{js, ts,tsx, jsx}",
"!src/index.tsx"
],
"reporters": [
"default"
],
"preset": "ts-jest",
"transform": {
"\\.jsx?$": "babel-jest",
"^.+\\.(ts|tsx)$": "ts-jest",
"\\.(css|less|scss)$": "identity-obj-proxy"
},
"setupFilesAfterEnv": [
"<rootDir>/setupTests.ts"
],
"coverageThreshold": {
"global": {
"branches": 70,
"functions": 70,
"lines": 70,
"statements": 70
}
}
}
}