-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 6.04 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
{
"name": "data-management-app",
"description": "DHIS2 Data Management App",
"version": "2.1.0",
"license": "GPL-3.0",
"author": "EyeSeeTea team",
"homepage": ".",
"repository": {
"type": "git",
"url": "git+https://github.com/eyeseetea/project-monitoring-app.git"
},
"dependencies": {
"@dhis2/app-runtime": "3.10.4",
"@dhis2/d2-i18n": "1.1.1",
"@dhis2/d2-i18n-extract": "1.0.8",
"@dhis2/d2-i18n-generate": "1.2.0",
"@dhis2/d2-ui-core": "7.1.3",
"@dhis2/d2-ui-forms": "^6.5.3",
"@dhis2/ui": "6.12.0",
"@dhis2/ui-core": "^4.8.0",
"@eyeseetea/d2-api": "1.16.0-beta.13",
"@eyeseetea/d2-ui-components": "2.7.0",
"@eyeseetea/feedback-component": "0.1.2",
"@krakenjs/post-robot": "^11.0.0",
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.3",
"@material-ui/styles": "4.11.4",
"async-promise-pool": "^1.0.2",
"axios": "0.21.1",
"axios-retry": "^3.1.9",
"classnames": "2.3.2",
"csv-writer": "1.6.0",
"csvtojson": "2.0.10",
"d2": "31.9.0",
"d2-manifest": "^1.0.0",
"exceljs": "4.3.0",
"font-awesome": "^4.7.0",
"lodash": "4.17.21",
"md5": "^2.2.1",
"moment": "2.29.1",
"postcss-rtl": "^1.3.2",
"prop-types": "^15",
"qs": "^6.9.6",
"query-string": "^4.3.4",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-dropzone": "14.2.3",
"react-is": "16.8.0",
"react-router-dom": "^5.1.2",
"react-router-last-location": "^2.0.1",
"react-scripts": "4.0.1",
"striptags": "3.2.0",
"styled-components": "^5.2.1",
"styled-jsx": "3.4.1",
"use-debounce": "7.0.0",
"word-wrap": "1.2.5",
"xlsx": "^0.18.5"
},
"scripts": {
"prestart": "yarn localize && d2-manifest package.json manifest.webapp",
"start": "react-scripts start",
"prebuild": "yarn localize && yarn test",
"build-react": "node --max_old_space_size=8192 node_modules/.bin/react-scripts build",
"build": "rm -rf build/ && d2-manifest package.json manifest.webapp && yarn build-react && yarn run manifest && cp -r i18n icon.png build",
"build-webapp": "yarn build && rm -f $npm_package_name.zip && cd build && zip -r ../$npm_package_name.zip *",
"test": "jest",
"lint": "eslint src cypress --ext .js,.jsx,.ts,.tsx",
"eject": "react-scripts eject",
"prettify": "prettier \"./{src,cypress}/**/*.{js,jsx,json,css,ts,tsx}\" --write",
"extract-pot": "d2-i18n-extract -p src/ -o i18n/",
"localize": "yarn update-po && d2-i18n-generate -n data-management-app -p ./i18n/ -o ./src/locales/",
"update-po": "yarn extract-pot && find i18n -name '*.po' | while read pofile; do msgmerge --backup=off -U $pofile i18n/en.pot; done",
"manifest": "d2-manifest package.json build/manifest.webapp",
"cy:verify": "cypress verify",
"cy:e2e:open": "CYPRESS_E2E=true cypress open -b chrome",
"cy:e2e:run": "CYPRESS_E2E=true cypress run -b chrome --headless",
"ts-node": "ts-node -O '{\"module\":\"commonjs\"}'",
"run-migrations": "yarn ts-node src/migrations/cli.ts",
"cypress-run-migrations": "yarn run-migrations $CYPRESS_EXTERNAL_API $CYPRESS_DHIS2_AUTH",
"check-uncommited": "! git status -uno --porcelain | grep '.'",
"generate-test-fixtures": "yarn ts-node src/models/Config.ts"
},
"husky": {
"hooks": {
"pre-push": "yarn localize && yarn prettify && yarn check-uncommited && yarn lint && yarn jest",
"post-merge": "./.githooks/dep-check"
}
},
"devDependencies": {
"@babel/core": "7.12.10",
"@babel/helper-call-delegate": "^7.11.4",
"@babel/helper-create-regexp-features-plugin": "^7.10.4",
"@babel/preset-typescript": "7.12.7",
"@types/axios-mock-adapter": "^1.10.0",
"@types/classnames": "^2.2.9",
"@types/cryptr": "^4.0.0",
"@types/file-saver": "^2.0.1",
"@types/jest": "26.0.20",
"@types/lodash": "4.14.168",
"@types/md5": "2.2.1",
"@types/node": "16",
"@types/react": "17.0.0",
"@types/react-dom": "17.0.0",
"@types/react-router-dom": "5.1.7",
"@types/striptags": "^3.1.1",
"@types/styled-components": "^5.1.4",
"@types/tmp": "^0.2.0",
"@typescript-eslint/eslint-plugin": "4.14.1",
"@typescript-eslint/parser": "4.14.1",
"@welldone-software/why-did-you-render": "^6.0.3",
"axios-mock-adapter": "1.18.2",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.3",
"cypress": "6.4.0",
"cypress-iframe": "^1.0.1",
"cypress-xpath": "1.6.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"eslint": "7.19.0",
"eslint-config-prettier": "7.2.0",
"eslint-config-react": "1.1.7",
"eslint-config-react-app": "6.0.0",
"eslint-plugin-cypress": "2.11.2",
"eslint-plugin-flowtype": "5.2.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.2.0",
"http-proxy-middleware": "^1.0.6",
"https-proxy-agent": "^5.0.0",
"husky": "4.3.8",
"jest": "26.6.3",
"parse-typed-args": "^0.2.0",
"prettier": "2.5.1",
"ts-node": "10.9.2",
"typescript": "4.9.3",
"wait-on": "5.2.1"
},
"manifest.webapp": {
"name": "Data Management App",
"description": "DHIS2 Data Management App",
"icons": {
"48": "icon.png"
},
"developer": {
"url": "https://www.eyeseetea.com/",
"name": "EyeSeeTea team"
},
"activities": {
"dhis": {
"href": "*"
}
}
}
}