forked from HospitalRun/hospitalrun-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
161 lines (161 loc) · 5.18 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
{
"name": "@hospitalrun/frontend",
"version": "2.0.0-alpha.4",
"description": "React frontend for HospitalRun",
"private": false,
"license": "MIT",
"dependencies": {
"@hospitalrun/components": "~1.16.0",
"@reduxjs/toolkit": "~1.4.0",
"@types/escape-string-regexp": "~2.0.1",
"@types/pouchdb-find": "~6.3.4",
"bootstrap": "~4.5.0",
"date-fns": "~2.15.0",
"escape-string-regexp": "~4.0.0",
"i18next": "~19.6.0",
"i18next-browser-languagedetector": "~6.0.0",
"i18next-xhr-backend": "~3.2.2",
"lodash": "^4.17.15",
"node-sass": "~4.14.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": "~16.13.0",
"react-bootstrap": "~1.3.0",
"react-bootstrap-typeahead": "~5.1.0",
"react-dom": "~16.13.0",
"react-i18next": "~11.7.0",
"react-query": "~2.5.13",
"react-query-devtools": "~2.4.2",
"react-redux": "~7.2.0",
"react-router": "~5.2.0",
"react-router-dom": "~5.2.0",
"react-scripts": "~3.4.0",
"redux": "~4.0.5",
"redux-thunk": "~2.3.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": "~8.3.5",
"@commitlint/config-conventional": "~9.1.1",
"@commitlint/core": "~9.1.1",
"@commitlint/prompt": "~9.1.1",
"@testing-library/react": "~10.4.0",
"@testing-library/react-hooks": "~3.4.1",
"@types/enzyme": "^3.10.5",
"@types/jest": "~26.0.0",
"@types/lodash": "^4.14.150",
"@types/node": "~14.0.0",
"@types/pouchdb": "~6.4.0",
"@types/react": "~16.9.17",
"@types/react-dom": "~16.9.4",
"@types/react-redux": "~7.1.5",
"@types/react-router": "~5.1.2",
"@types/react-router-dom": "~5.1.0",
"@types/redux-mock-store": "~1.0.1",
"@types/shortid": "^0.0.29",
"@types/uuid": "^8.0.0",
"@types/validator": "~13.1.0",
"@typescript-eslint/eslint-plugin": "~3.9.0",
"@typescript-eslint/parser": "~3.9.0",
"chalk": "^4.0.0",
"commitizen": "~4.1.2",
"commitlint-config-cz": "~0.13.0",
"cross-env": "~7.0.0",
"cz-conventional-changelog": "~3.2.0",
"dateformat": "~3.0.3",
"enzyme": "~3.11.0",
"enzyme-adapter-react-16": "~1.15.2",
"eslint": "~6.8.0",
"eslint-config-airbnb": "~18.2.0",
"eslint-config-prettier": "~6.11.0",
"eslint-import-resolver-typescript": "~2.2.0",
"eslint-plugin-import": "~2.22.0",
"eslint-plugin-jest": "~23.20.0",
"eslint-plugin-jsx-a11y": "~6.3.0",
"eslint-plugin-prettier": "~3.1.2",
"eslint-plugin-react": "~7.20.0",
"eslint-plugin-react-hooks": "~4.0.4",
"history": "4.10.1",
"husky": "~4.2.1",
"jest": "~24.9.0",
"lint-staged": "~10.2.0",
"memdown": "~5.1.0",
"prettier": "~2.0.4",
"redux-mock-store": "~1.5.4",
"rimraf": "~3.0.2",
"source-map-explorer": "^2.2.2",
"standard-version": "~8.0.0",
"ts-jest": "~26.2.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 --detectOpenHandles --testPathIgnorePatterns=src/__tests__/test-utils",
"test:ci": "cross-env CI=true react-scripts test --passWithNoTests --testPathIgnorePatterns=src/__tests__/test-utils",
"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 ."
]
}
}