This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
package.json
168 lines (168 loc) · 5.48 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "@hospitalrun/frontend",
"version": "2.0.0-alpha.7",
"description": "React frontend for HospitalRun",
"private": false,
"license": "MIT",
"dependencies": {
"@hospitalrun/components": "~3.4.0",
"@reduxjs/toolkit": "~1.7.0",
"@types/escape-string-regexp": "~2.0.1",
"@types/json2csv": "~5.0.1",
"@types/pouchdb-find": "~6.3.4",
"bootstrap": "~5.1.0",
"date-fns": "~2.28.0",
"escape-string-regexp": "~4.0.0",
"i18next": "~21.6.0",
"i18next-browser-languagedetector": "~6.1.0",
"i18next-xhr-backend": "~3.2.2",
"json2csv": "~5.0.1",
"lodash": "^4.17.15",
"node-sass": "~7.0.0",
"pouchdb": "~7.2.1",
"pouchdb-adapter-memory": "~7.2.1",
"pouchdb-authentication": "~1.1.3",
"pouchdb-find": "~7.2.1",
"pouchdb-quick-search": "~1.3.0",
"react": "~17.0.1",
"react-bootstrap": "~1.6.0",
"react-bootstrap-typeahead": "~5.2.0",
"react-dom": "~16.13.0",
"react-i18next": "~11.15.0",
"react-query": "~2.25.2",
"react-query-devtools": "~2.6.0",
"react-redux": "~7.2.0",
"react-router": "~5.2.0",
"react-router-dom": "~5.3.0",
"react-scripts": "~3.4.0",
"redux": "~4.1.0",
"redux-thunk": "~2.4.0",
"relational-pouch": "~4.0.0",
"shortid": "^2.2.15",
"typescript": "~3.8.3",
"uuid": "^8.0.0",
"validator": "^13.0.0"
},
"resolutions": {
"moment": "2.24.0"
},
"comments": {
"resolutions": "Added this key as temp fix https://github.com/moment/moment/issues/5484"
},
"repository": {
"type": "git",
"url": "https://github.com/HospitalRun/hospitalrun-frontend.git"
},
"author": "Jack Meyer",
"contributors": [
"Maksim Sinik",
"Stefano Casasola"
],
"devDependencies": {
"@commitlint/cli": "~16.1.0",
"@commitlint/config-conventional": "~16.0.0",
"@commitlint/core": "~16.0.0",
"@commitlint/prompt": "~16.1.0",
"@testing-library/dom": "~7.31.0",
"@testing-library/jest-dom": "~5.16.1",
"@testing-library/react": "~11.2.2",
"@testing-library/react-hooks": "~7.0.0",
"@testing-library/user-event": "~12.8.3",
"@types/jest": "~27.0.3",
"@types/lodash": "^4.14.150",
"@types/node": "~17.0.0",
"@types/pouchdb": "~6.4.0",
"@types/react": "~17.0.0",
"@types/react-dom": "~17.0.0",
"@types/react-redux": "~7.1.5",
"@types/react-router": "~5.1.2",
"@types/react-router-dom": "~5.3.0",
"@types/redux-mock-store": "~1.0.1",
"@types/shortid": "^0.0.29",
"@types/uuid": "^8.0.0",
"@types/validator": "~13.7.0",
"@typescript-eslint/eslint-plugin": "~3.10.0",
"@typescript-eslint/parser": "~3.10.0",
"chalk": "^5.0.0",
"commitizen": "~4.2.0",
"commitlint-config-cz": "~0.13.0",
"cross-env": "~7.0.0",
"cz-conventional-changelog": "~3.3.0",
"dateformat": "~5.0.2",
"eslint": "~6.8.0",
"eslint-config-airbnb": "~18.2.0",
"eslint-config-prettier": "~7.2.0",
"eslint-import-resolver-typescript": "~2.5.0",
"eslint-plugin-import": "~2.25.1",
"eslint-plugin-jest": "~26.1.0",
"eslint-plugin-jsx-a11y": "~6.5.1",
"eslint-plugin-prettier": "~3.4.0",
"eslint-plugin-react": "~7.28.0",
"eslint-plugin-react-hooks": "~4.3.0",
"history": "4.10.1",
"husky": "~7.0.0",
"jest-canvas-mock": "~2.3.0",
"jest-environment-jsdom-sixteen": "~2.0.0",
"lint-staged": "~12.3.3",
"memdown": "~6.1.0",
"prettier": "~2.2.0",
"react-select-event": "~5.3.0",
"react-test-renderer": "~17.0.1",
"redux-mock-store": "~1.5.4",
"rimraf": "~3.0.2",
"source-map-explorer": "^2.2.2",
"standard-version": "~9.3.0"
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"commit": "npx git-cz",
"start": "npm run translation:check && react-scripts start",
"build": "react-scripts build",
"update": "npx npm-check -u",
"prepublishOnly": "npm run build",
"test": "npm run translation:check && react-scripts test --testPathIgnorePatterns=src/__tests__/test-utils --env=jest-environment-jsdom-sixteen",
"test:ci": "cross-env CI=true react-scripts test --testPathIgnorePatterns=src/__tests__/test-utils --passWithNoTests --env=jest-environment-jsdom-sixteen --maxWorkers=2",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\" \"scripts/check-translations/**/*.{js,ts}\"",
"lint:fix": "eslint \"src/**/*.{js,jsx,ts,tsx}\" \"scripts/check-translations/**/*.{js,ts}\" --fix",
"lint-staged": "lint-staged",
"commitlint": "commitlint",
"coveralls": "npm run test:ci -- --coverage --watchAll=false && cat ./coverage/lcov.info",
"remove-compiled-translations": "rimraf ./bin/scripts/check-translations",
"pretranslation:check": "npm run remove-compiled-translations",
"translation:check": "tsc -p scripts/tsconfig.json && node ./bin/scripts/check-translations/index.js",
"posttranslation:check": "npm run remove-compiled-translations"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged",
"commit-msg": "npm run commitlint -- -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"npm run lint:fix",
"npm run test:ci",
"git add ."
]
},
"jest": {
"restoreMocks": true
}
}