forked from WISCENTD-UPC/Bulk-Load
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 5.71 KB
/
Copy pathpackage.json
File metadata and controls
157 lines (157 loc) · 5.71 KB
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
{
"name": "bulk-load",
"description": "Bulk importing made easy",
"version": "3.36.0",
"license": "GPL-3.0",
"author": "EyeSeeTea team",
"homepage": ".",
"repository": {
"type": "git",
"url": "git+https://github.com/eyeseetea/bulk-load.git"
},
"packageManager": "yarn@4.12.0",
"dependencies": {
"@dhis2/app-runtime": "3.12.0",
"@dhis2/d2-i18n": "1.1.3",
"@dhis2/d2-ui-core": "7.3.3",
"@dhis2/ui-core": "6.24.0",
"@dhis2/ui-widgets": "6.24.0",
"@eyeseetea/d2-api": "1.21.0",
"@eyeseetea/d2-ui-components": "2.12.0",
"@eyeseetea/feedback-component": "0.3.0",
"@eyeseetea/xlsx-populate": "4.3.2-beta.1",
"@material-ui/core": "4.12.4",
"@material-ui/icons": "4.11.3",
"@material-ui/styles": "4.11.5",
"async-promise-pool": "1.0.6",
"axios": "^1.18.0",
"core-js": "3.20.3",
"d2": "31.10.2",
"date-fns": "2.28.0",
"file-saver": "2.0.5",
"jquery": "3.6.0",
"jszip": "3.10.1",
"lodash": "^4.18.0",
"lodash.product": "18.10.0",
"md5": "2.3.0",
"moment": "^2.29.4",
"prop-types": "15.8.1",
"purify-ts": "1.1.0",
"purify-ts-extra-codec": "0.6.0",
"react": "17.0.2",
"react-color": "2.19.3",
"react-dom": "17.0.2",
"react-dropzone": "11.5.1",
"react-json-view": "1.21.3",
"react-markdown": "^8.0.7",
"react-router-dom": "6.30.4",
"rehype-raw": "^6.1.1",
"rehype-sanitize": "^5.0.1",
"styled-jsx": "5.0.0"
},
"scripts": {
"start": "vite --strictPort",
"prebuild": "yarn localize && yarn test",
"build-folder": "rm -rf build/ && d2-manifest package.json manifest.webapp && tsc && vite build --outDir=build && yarn run manifest && cp -r i18n icon.png build",
"build": "VITE_DHIS2_BASE_URL='' VITE_DHIS2_AUTH='' yarn build-folder && rm -f $npm_package_name.zip && cd build && zip --quiet -r ../$npm_package_name.zip *",
"test": "yarn test-unit",
"regenerate-metadata": "ts-node --transpile-only --project src/scripts/tsconfig.json src/scripts/regenerate-metadata.ts",
"test-unit": "vitest run --reporter=basic",
"test-unit-watch": "vitest watch",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
"prettify": "prettier \"./**/*.{js,jsx,json,css,ts,tsx}\" --write",
"extract-pot": "yarn d2-i18n-extract -p src/ -o i18n/",
"localize": "yarn update-po && d2-i18n-generate -n bulk-load -p ./i18n/ -o ./src/locales/",
"update-po": "yarn extract-pot && find i18n/ -name '*.po' -exec msgmerge --backup=off -U {} i18n/en.pot \\;",
"manifest": "d2-manifest package.json build/manifest.webapp",
"check-uncommited": "test -z \"$(git status -uno --porcelain)\"",
"prepare": "corepack enable 2>/dev/null || true && husky install",
"postinstall": "yarn localize"
},
"devDependencies": {
"@babel/core": "^7.26.10",
"@babel/preset-typescript": "^7.26.0",
"@dhis2/d2-i18n-extract": "1.0.8",
"@dhis2/d2-i18n-generate": "1.2.0",
"@testing-library/jest-dom": "5.16.1",
"@testing-library/react": "12.1.2",
"@types/file-saver": "2.0.5",
"@types/jest": "27.4.0",
"@types/lodash": "4.14.178",
"@types/md5": "2.3.1",
"@types/node": "17.0.8",
"@types/react": "17.0.38",
"@types/react-color": "3.0.6",
"@types/react-dom": "17.0.11",
"@types/react-router-dom": "5.3.2",
"@types/webpack-env": "1.16.3",
"@typescript-eslint/eslint-plugin": "5.9.1",
"@typescript-eslint/parser": "5.9.1",
"@vitejs/plugin-react": "^5.1.0",
"@welldone-software/why-did-you-render": "6.2.3",
"babel-eslint": "10.1.0",
"babel-preset-react-app": "10.0.1",
"cmd-ts": "^0.10.0",
"d2-manifest": "1.0.0",
"eslint": "8.7.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-react": "1.1.7",
"eslint-config-react-app": "7.0.0",
"eslint-plugin-flowtype": "8.0.3",
"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-unused-imports": "2.0.0",
"http-proxy-middleware": "^2.0.7",
"husky": "7.0.4",
"jsdom": "^21.1.2",
"node-stdlib-browser": "^1.2.0",
"prettier": "2.5.1",
"ts-node": "10.4.0",
"typescript": "4.5.4",
"vite": "^7.3.6",
"vite-plugin-checker": "^0.11.0",
"vite-plugin-node-stdlib-browser": "^0.2.1",
"vitest": "^3.2.7"
},
"resolutions": {
"axios": "^1.18.0",
"@babel/runtime": "^7.26.10",
"i18next": "19.8.5",
"i18next-conv/node-gettext": "^3.0.1",
"react-linkify/linkify-it": "^5.0.2",
"lodash": "^4.18.0",
"lodash-es": "^4.18.0",
"moment": "^2.29.4",
"nanoid": "^3.3.8",
"node-fetch": "^2.6.7",
"qs": "^6.15.3",
"diff": "^5.2.2",
"debug": "^4.4.3",
"ua-parser-js": "^0.7.24"
},
"manifest.webapp": {
"name": "Bulk Load",
"description": "DHIS2 Bulk Load App",
"icons": {
"48": "icon.png"
},
"developer": {
"url": "https://www.eyeseetea.com/",
"name": "EyeSeeTea team"
},
"activities": {
"dhis": {
"href": "*"
}
}
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}