generated from nimblehq/git-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.67 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
{
"name": "react-survey-ic",
"version": "0.1.0",
"private": true,
"dependencies": {
"axios": "0.21.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-i18next": "11.16.1",
"react-router-dom": "6.3.0",
"react-scripts": "5.0.1",
"sass": "1.49.11",
"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/code-coverage": "3.9.12",
"@cypress/instrument-cra": "1.4.0",
"@nimblehq/eslint-config-nimble-react": "1.2.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/node": "17.0.21",
"@types/react": "17.0.40",
"@types/react-dom": "17.0.13",
"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",
"postcss": "8.4.21",
"postcss-import": "14.1.0",
"prettier": "2.6.0",
"start-server-and-test": "1.14.0",
"stylelint": "14.6.0",
"tailwindcss": "3.2.6",
"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
}
}