This repository has been archived by the owner on May 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
130 lines (130 loc) · 4.62 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "soen-390",
"version": "0.1.0",
"private": true,
"home": "/",
"dependencies": {
"@date-io/core": "^2.13.1",
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@material-ui/lab": "^5.0.0-alpha.44",
"@mui/icons-material": "^5.3.1",
"@mui/lab": "^5.0.0-alpha.66",
"@mui/material": "^5.3.1",
"@mui/utils": "^5.4.4",
"@mui/x-data-grid": "^5.5.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/date-fns": "^2.6.0",
"@types/jest": "^27.4.0",
"@types/node": "^16.11.21",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/testing-library__jest-dom": "^5.14.2",
"chart.js": "^3.7.1",
"cross-var": "^1.1.0",
"cypress-firebase": "^2.2.1",
"date-fns": "^2.28.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"firebase": "^9.6.4",
"firebase-functions": "^3.18.1",
"firebase-tools": "^10.4.0",
"jest-environment-jsdom": "^27.4.6",
"mocha": "^9.2.1",
"node-fetch": ">=2.6.7",
"react": "^17.0.2",
"react-chartjs-2": "^4.1.0",
"react-dom": "^17.0.2",
"react-firebase-hooks": "^5.0.0",
"react-iframe": "^1.8.0",
"react-router-dom": "^6.2.1",
"react-scripts": "5.0.0",
"react-syntax-highlighter": "^15.4.5",
"react-test-renderer": "^17.0.2",
"typescript": "^4.5.5",
"validator": "^13.7.0",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"test": "react-scripts test",
"build": "react-scripts build",
"start:emulator": "cross-var firebase emulators:exec --token '$FIREBASE_TOKEN' --import=./cypress/firestore_production 'npm start'",
"dev:emulator": "firebase emulators:exec 'npm run dev'",
"build:emulator": "firebase emulators:exec 'npm run build'",
"test-emulate-firestore": "firebase emulators:exec --only firestore 'mocha src/test/firebase_rules.test.mocha.js'",
"test-firestore": "mocha src/test/firebase_rules.test.mocha.js",
"eject": "react-scripts eject",
"cy:open": "cypress open",
"cy:run": "cypress run",
"cy:ci": "cross-var firebase emulators:exec --token '$FIREBASE_TOKEN' --import=./cypress/firestore_production 'npm run cy:start'",
"cy:start": "cross-env PORT=5050 react-scripts -r @cypress/instrument-cra start",
"coverage": "npm run jest:run && npm run cy:fire && npm run merge-coverage && npm run cov-report",
"merge-coverage": "node ./scripts/mergeCoverage.js",
"jest:run": "react-scripts test --coverage --coverageDirectory=coverage/jest-coverage --watchAll=false --testPathIgnorePatterns register.test.tsx",
"cy:fire": "firebase emulators:exec --import=./cypress/firestore_production \"npm run cy:test\"",
"cy:test": "start-test cy:start 5050 cy:run",
"cov-report": "start coverage/lcov-report/index.html",
"cy:local": " firebase emulators:exec --import=./cypress/firestore_production \"cypress open --config baseUrl=http://localhost:5000\""
},
"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",
"@firebase/rules-unit-testing": "^2.0.2",
"@testing-library/jest-dom": "^5.16.2",
"@types/react-syntax-highlighter": "^13.5.2",
"@types/react-test-renderer": "^17.0.1",
"@types/validator": "^13.7.1",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"babel-plugin-istanbul": "^6.1.1",
"cross-env": "^7.0.3",
"cypress": "^9.5.2",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-testing-library": "^5.1.0",
"firebase-functions-test": "^0.3.3",
"istanbul-lib-coverage": "^3.2.0",
"jest": "^27.5.1",
"node-fetch": ">=2.6.7",
"nyc": "^15.1.0",
"pify": "^5.0.0",
"prettier": "^2.5.1",
"prettier-eslint": "^13.0.0",
"start-server-and-test": "^1.14.0"
},
"jest": {
"coverageReporters": [
"json"
]
},
"nyc": {
"report-dir": "coverage/cypress-coverage",
"include": [],
"exclude": [
"src/test/**",
"src/context/LayoutContext.tsx",
"src/components/dashboard/AdminDashboard/PatientTable.tsx"
]
}
}