This repository has been archived by the owner on Jan 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
103 lines (103 loc) · 2.88 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
{
"name": "mia_template_service_name_placeholder",
"version": "0.1.0",
"private": true,
"homepage": "./",
"dependencies": {
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-intl": "^5.20.6",
"react-redux": "^7.2.4",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.3",
"redux": "^4.1.0",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0"
},
"scripts": {
"start": "react-scripts start",
"build": "NODE_ENV=production INLINE_RUNTIME_CHUNK=false react-scripts build",
"test": "react-scripts test",
"lint": "eslint src --ext .js",
"coverage": "yarn test --coverage --watchAll=false",
"dev:unit-watch": "yarn test",
"dev:mock-server": "mock-server --delay 200 --watch --require @babel/register",
"dev:styleguide": "styleguidist server",
"dev": "npm-run-all -p dev:** start",
"styleguide:build": "styleguidist build",
"update-docker-version": "sed -i.bck \"s|version=\\\"[0-9]*\\.[0-9]*\\.[0-9]*.*\\\"|version=\\\"${npm_package_version}\\\"|\" Dockerfile",
"version": "npm run update-docker-version && rm -fr Dockerfile.bck && git add Dockerfile"
},
"proxy": "http://localhost:3456",
"standard-version": {
"skip": {
"bump": true,
"tag": true
}
},
"husky": {
"hooks": {
"pre-commit": "npm-run-all lint coverage"
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/register": "^7.17.7",
"@staticdeploy/mock-server": "^2.0.0",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^12.1.4",
"babel-eslint": "^10.1.0",
"eslint-config-react-app": "^5.2.1",
"eslint-config-standard": "^14.1.1",
"eslint-config-standard-react": "^9.2.0",
"eslint-plugin-flowtype": "^5.9.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-standard": "^4.0.2",
"husky": "^4.3.8",
"npm-run-all": "^4.1.5",
"react-styleguidist": "^11.1.6",
"redux-devtools-extension": "^2.13.9",
"redux-logger": "^3.0.6",
"standard-version": "^9.3.1"
},
"jest": {
"coveragePathIgnorePatterns": [
"/src/setupTests.js",
"/src/utilsTests.js",
"/src/index.js",
"/src/strings",
"/src/serviceWorker.js",
"/src/config.js",
"/src/redux-store.js"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 90,
"lines": 90,
"statements": 90
}
}
}
}