-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
138 lines (138 loc) · 4.89 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
{
"name": "@bahmni/lab-app",
"version": "1.0.0",
"description": "Bahmni Lab Frontend",
"browser": "dist/bahmni-lab-app.js",
"main": "src/index.ts",
"license": "MIT",
"homepage": "https://github.com/bahmni/bahmni-lab-frontend#readme",
"scripts": {
"bahmni": "npx openmrs develop --spa-path '/lab' --importmap 'config/dev-importmap.json' --config-url http://localhost:8201/config/dev-config.json --port 8200 --backend 'http://localhost:8080'",
"omrs:appshell": "npx openmrs build --pageTitle 'Lab Entry' --spa-path /lab --api-url '/openmrs' --config-path 'config/config.json' --target 'omrs-app-shell'",
"omrs:assemble": "npx openmrs assemble --config 'config/spa-build-config.json' --mode 'config' --target 'omrs-app-shell'",
"importmap": "node ./tools/updateImportMap.js",
"build:appshell": "yarn omrs:appshell && yarn omrs:assemble && yarn importmap",
"build:assemble": "yarn omrs:assemble && yarn importmap",
"serve": "webpack serve --mode=development",
"debug": "npm run serve",
"build": "npx webpack --mode production",
"build:dist": "cp -R omrs-app-shell/* dist/ && rm -rf omrs-app-shell/",
"analyze": "webpack --mode=production --env.analyze=true",
"lint": "eslint src --ext tsx",
"prettier": "prettier --config prettier.config.js --write \"src/**/*.{ts,tsx}\"",
"typescript": "tsc",
"prepublish": "npm run build",
"test": "jest --config jest.config.json --verbose false --passWithNoTests",
"test:watch": "jest --config jest.config.json --verbose false --passWithNoTests --watch",
"coverage": "npm test -- --coverage",
"badges": "npm run coverage && jest-coverage-badges --output './badges' "
},
"browserslist": [
"extends browserslist-config-openmrs"
],
"keywords": [
"openmrs"
],
"publishConfig": {
"access": "public"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && concurrently 'yarn:test' 'yarn:typescript' 'yarn:lint'"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/UCSF-IGHS/openmrs-esm-ohri.git"
},
"bugs": {
"url": "https://github.com/UCSF-IGHS/openmrs-esm-ohri/issues"
},
"dependencies": {
"@carbon/icons-react": "^10.18.0",
"ace-builds": "^1.4.12",
"carbon-components-react": "^7.25.0",
"copy-webpack-plugin": "^10.2.4",
"jest-coverage-badges": "^1.0.0",
"lodash-es": "^4.17.15",
"use-persisted-state": "^0.3.3"
},
"peerDependencies": {
"@openmrs/esm-framework": "3.x",
"@openmrs/esm-patient-common-lib": "3.x",
"carbon-components": "^10.19.0",
"carbon-icons": "^7.0.7",
"dayjs": "^1.8.16",
"react": "^16.9.0",
"react-i18next": "^11.3.4",
"swr": "^1.1.2"
},
"devDependencies": {
"@openmrs/esm-framework": "3.4.1-pre.189",
"@openmrs/esm-patient-common-lib": "3.2.1-pre.217",
"openmrs": "3.4.1-pre.189",
"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.165",
"@swc/jest": "^0.2.20",
"@testing-library/dom": "^7.20.0",
"@testing-library/jest-dom": "^5.11.0",
"@testing-library/react": "^10.4.3",
"@testing-library/user-event": "^12.0.11",
"@types/carbon-components-react": "^7.55.1",
"@types/jest": "^24.9.1",
"@types/lodash": "^4.14.161",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.0",
"@types/react-router": "^5.1.7",
"@types/react-router-dom": "^5.1.5",
"@types/single-spa-react": "^2.12.0",
"@types/use-persisted-state": "^0.3.1",
"@types/webpack-env": "^1.15.1",
"@types/yup": "^0.29.3",
"@typescript-eslint/parser": "^4.26.0",
"browserslist-config-openmrs": "^1.0.0",
"carbon-components": "^10.19.0",
"clean-webpack-plugin": "^3.0.0",
"concurrently": "^6.3.0",
"css-loader": "^3.2.0",
"dayjs": "^1.8.16",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.13.0",
"eslint-config-ts-react-important-stuff": "^3.0.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react-hooks": "^4.3.0",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^6.3.3",
"husky": "^3.0.4",
"i18next": "^19.4.2",
"identity-obj-proxy": "^3.0.0",
"istanbul-badges-readme": "^1.4.0",
"jest": "^26.4.2",
"jest-axe": "^5.0.1",
"jest-cli": "^26.4.2",
"jest-watch-typeahead": "^0.6.5",
"jest-when": "^3.5.0",
"node-sass": "^6.0.1",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"react": "^16.9.0",
"react-cookie" :"^4.1.1",
"react-dom": "^16.9.0",
"react-i18next": "^11.3.4",
"react-router": "^5.0.1",
"react-router-dom": "^5.2.0",
"rxjs": "^6.6.2",
"sass-loader": "^10.0.2",
"style-loader": "^1.0.0",
"swc-loader": "^0.1.16",
"swr": "^1.1.2",
"ts-loader": "9.2.9",
"typescript": "^4.0.3",
"unistore": "^3.5.2",
"webpack": "^5.37.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^4.2.1"
}
}