-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 2.3 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
{
"name": "consulta-cep",
"homepage": "https://marcelorl.github.io/consulta-cep/",
"version": "0.1.0",
"private": true,
"dependencies": {
"@types/google-map-react": "^1.1.0",
"@types/jest": "^24.0.11",
"@types/lodash.get": "^4.4.6",
"@types/lodash.omit": "^4.5.6",
"@types/node": "^12.0.0",
"@types/react": "^16.8.13",
"@types/react-dom": "^16.8.4",
"@types/react-input-mask": "^2.0.1",
"@types/styled-components": "^4.1.14",
"google-map-react": "^1.1.4",
"lodash.get": "^4.4.2",
"lodash.omit": "^4.5.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-input-mask": "^2.0.4",
"react-scripts": "^2.1.8",
"styled-components": "^4.2.0",
"styled-reset": "^3.0.1",
"typescript": "^3.4.3"
},
"devDependencies": {
"jest-fetch-mock": "^2.1.2",
"jest-styled-components": "^6.3.1",
"lint-staged": "^9.0.0",
"react-testing-library": "^7.0.0",
"snapshot-diff": "^0.5.1",
"snazzy": "^8.0.0",
"standard": "^13.0.1"
},
"scripts": {
"preinstall": "cp -n .env.local.example .env.local || true",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"coverage": "npm test -- --coverage",
"lint": "standard \"src/**/*.js\" --fix --verbose | snazzy",
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"precommit": "lint-staged"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"lint-staged": {
"*.js": [
"standard --fix --verbose | snazzy",
"git add"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{tsx}",
"src/**/*.{ts}",
"!src/globalTheme.ts",
"!src/index.tsx",
"!src/setupTests.ts",
"!src/react-app-env.d.ts",
"!src/serviceWorker.tsx",
"!src/styled.d.ts",
"!src/testHelper.tsx",
"!<rootDir>/node_modules/"
],
"coverageThreshold": {
"global": {
"branches": 60,
"functions": 60,
"lines": 60,
"statements": 60
}
}
},
"standard": {
"globals": [
"fetch",
"jest",
"describe",
"it",
"xit",
"expect",
"beforeEach"
]
}
}