-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 2.95 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
{
"name": "react-numble-survey",
"version": "0.1.0",
"private": true,
"engines": {
"npm": ">=8.19.3",
"node": "18.14.0"
},
"dependencies": {
"axios": "^0.21.1",
"bootstrap": "^5.2.1",
"i18next": "^21.6.14",
"i18next-browser-languagedetector": "^6.1.3",
"i18next-http-backend": "^1.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-helmet-async": "^1.3.0",
"react-i18next": "^11.16.1",
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"sass": "^1.49.11",
"validator": "^13.7.0",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts -r @cypress/instrument-cra start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"test:coverage": "rimraf coverage && react-scripts test --coverage --watchAll=false && npm run cypress:run && node ./scripts/coverage-merge.js && nyc report",
"test:merge-coverage": "node ./scripts/coverage-merge.js",
"lint": "eslint ./ --ext .js,.ts,.tsx",
"lint:fix": "eslint ./ --ext .js,.ts,.tsx --fix",
"stylelint": "stylelint '**/*.scss'",
"stylelint:fix": "stylelint '**/*.scss' --fix",
"codebase:lint": "npm run lint && npm run stylelint",
"codebase:fix": "npm run lint:fix && npm run stylelint:fix",
"cypress": "start-server-and-test start 3000 cypress:run",
"cypress:run": "cypress run",
"cypress:open": "cypress open"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@cypress/browserify-preprocessor": "^3.0.2",
"@cypress/code-coverage": "^3.9.12",
"@cypress/instrument-cra": "^1.4.0",
"@nimblehq/eslint-config-nimble-react": "^1.1.0",
"@nimblehq/stylelint-config-nimble": "^1.0.2",
"@testing-library/cypress": "^8.0.2",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@testing-library/user-event": "^14.1.1",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.191",
"@types/node": "^17.0.21",
"@types/react": "^17.0.40",
"@types/react-dom": "^18.0.11",
"@types/react-helmet": "^6.1.6",
"@types/validator": "^13.7.10",
"cypress": "^9.5.2",
"cypress-react-selector": "^2.3.16",
"danger": "^10.9.0",
"danger-plugin-istanbul-coverage": "^1.6.2",
"eslint": "^8.11.0",
"prettier": "^2.6.0",
"start-server-and-test": "^1.14.0",
"stylelint": "^14.6.0",
"typescript": "^4.6.2"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"coverageReporters": [
"json"
]
},
"nyc": {
"report-dir": "coverage/cypress",
"exclude": [
"src/reportWebVitals.ts"
],
"excludeAfterRemap": true
}
}