-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
141 lines (141 loc) · 5.77 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
{
"name": "glass",
"description": "DHIS2 Glass App",
"version": "1.6.20",
"license": "GPL-3.0",
"author": "EyeSeeTea team",
"homepage": ".",
"repository": {
"type": "git",
"url": "git+https://github.com/EyeSeeTea/glass-dev.git"
},
"dependencies": {
"@dhis2/app-runtime": "2.8.0",
"@dhis2/d2-i18n": "1.1.0",
"@dhis2/d2-i18n-extract": "1.0.8",
"@dhis2/d2-i18n-generate": "1.2.0",
"@dhis2/ui": "6.12.0",
"@eyeseetea/d2-api": "1.13.2-beta.6",
"@eyeseetea/d2-logger": "1.1.0",
"@eyeseetea/d2-ui-components": "2.6.11",
"@eyeseetea/xlsx-populate": "4.1.0",
"@material-ui/core": "4.12.3",
"@material-ui/icons": "4.11.2",
"@material-ui/lab": "4.0.0-alpha.60",
"@material-ui/styles": "4.11.4",
"axios": "0.21.1",
"classnames": "2.3.1",
"d2": "31.10.2",
"d2-manifest": "1.0.0",
"dayjs": "^1.11.7",
"dotenv": "^16.4.5",
"excel4node": "^1.8.2",
"fluture": "14.0.0",
"font-awesome": "4.7.0",
"lodash": "4.17.21",
"lodash.product": "^18.10.0",
"postcss-rtl": "1.7.3",
"purify-ts": "1.2.0",
"purify-ts-extra-codec": "0.6.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-dropzone": "^14.2.3",
"react-router-dom": "5.2.0",
"react-scripts": "4.0.3",
"styled-components": "5.3.5",
"styled-jsx": "3.4.5",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@babel/core": "7.17.8",
"@babel/preset-typescript": "7.16.7",
"@testing-library/cypress": "^8.0.2",
"@testing-library/jest-dom": "5.16.3",
"@testing-library/react": "12.1.4",
"@types/axios-mock-adapter": "1.10.0",
"@types/classnames": "2.3.1",
"@types/jest": "26.0.24",
"@types/lodash": "4.14.181",
"@types/material-ui": "0.21.12",
"@types/md5": "2.3.2",
"@types/node": "16.4.10",
"@types/react": "17.0.43",
"@types/react-dom": "17.0.14",
"@types/react-router-dom": "5.3.3",
"@types/styled-components": "5.1.24",
"@typescript-eslint/eslint-plugin": "4.29.0",
"@typescript-eslint/parser": "4.29.0",
"@vercel/ncc": "^0.38.1",
"@welldone-software/why-did-you-render": "^6.2.3",
"axios-mock-adapter": "1.20.0",
"babel-core": "6.26.3",
"babel-eslint": "10.1.0",
"cmd-ts": "^0.7.0",
"craco": "^0.0.3",
"cypress": "8.1.0",
"cypress-xpath": "1.6.2",
"eslint": "7.32.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-react-app": "6.0.0",
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-flowtype": "5.9.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "4.4.0",
"eslint-plugin-unused-imports": "^1.1.4",
"http-proxy-middleware": "^2.0.4",
"husky": "7.0.4",
"jest": "27.5.1",
"prettier": "2.6.1",
"react-test-renderer": "17.0.2",
"ts-jest": "27.1.4",
"ts-node": "10.7.0",
"typescript": "4.6.3",
"wait-on": "5.3.0"
},
"scripts": {
"start": "react-scripts start",
"start-profiling": "craco start",
"postinstall": "yarn localize",
"prebuild": "yarn localize && yarn test",
"build-folder": "rm -rf build/ && d2-manifest package.json manifest.webapp && react-scripts build && yarn run manifest && cp -r i18n icon.png build",
"build": "yarn build-folder && rm -f $npm_package_name.zip && cd build && zip --quiet -r ../$npm_package_name.zip *",
"test": "jest --passWithNoTests",
"lint": "eslint src cypress --ext .js,.jsx,.ts,.tsx",
"eject": "react-scripts eject",
"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 glass -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",
"cy:verify": "cypress verify",
"cy:e2e:open": "NODE_ENV=test CYPRESS_E2E=true cypress open",
"cy:e2e:run": "NODE_ENV=test CYPRESS_E2E=true cypress run --browser chrome",
"prepare": "husky install",
"script-example": "npx ts-node src/scripts/index.ts example getExample",
"start-amc-recalculate": "npx ts-node src/scripts/cliAMC.ts --debug",
"build-amc-recalculate": "ncc build src/scripts/cliAMC.ts -m -o $npm_package_name-amc-recalculate-server && zip -r $npm_package_name-amc-recalculate-server.zip $npm_package_name-amc-recalculate-server && npx rimraf $npm_package_name-amc-recalculate-server/",
"amr-agg-data-validation-ris": "npx ts-node -r dotenv/config src/scripts/amr_agg_data_validation.ts",
"amr-agg-data-reset-ris": "npx ts-node -r dotenv/config src/scripts/amr_agg_data_reset.ts",
"amr-agg-data-validation-sample": "npx ts-node -r dotenv/config src/scripts/amr_agg_data_validation_sample.ts",
"amr-agg-data-reset-sample": "npx ts-node -r dotenv/config src/scripts/amr_agg_data_reset_sample.ts"
},
"manifest.webapp": {
"name": "glass",
"description": "DHIS2 Glass App",
"icons": {
"48": "icon.png"
},
"developer": {
"url": "https://www.eyeseetea.com/",
"name": "EyeSeeTea team"
},
"activities": {
"dhis": {
"href": "*"
}
}
}
}