-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
136 lines (136 loc) · 5 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
{
"name": "vaccination-app",
"description": "DHIS2 MSF Vaccination Campaign App",
"version": "2.2.1",
"license": "GPL-3.0",
"author": "EyeSeeTea team",
"homepage": ".",
"repository": {
"type": "git",
"url": "git+https://github.com/eyeseetea/vaccination-app.git"
},
"dependencies": {
"@dhis2/app-runtime": "2.11.1",
"@dhis2/d2-i18n": "^1.0.4",
"@dhis2/d2-i18n-extract": "https://github.com/EyeSeeTea/d2-i18n-extract#add-typescript-extensions",
"@dhis2/d2-i18n-generate": "^1.0.19",
"@dhis2/d2-ui-core": "^1.3.5",
"@dhis2/d2-ui-forms": "^5.1.0",
"@dhis2/ui": "6.9.0",
"@dhis2/ui-widgets": "6.9.0",
"@eyeseetea/d2-api": "1.15.0",
"@eyeseetea/d2-ui-components": "^2.8.0",
"@material-ui/core": "4.12.4",
"@material-ui/icons": "4.11.3",
"@material-ui/styles": "4.11.1",
"axios": "0.21.1",
"classnames": "^2.2.6",
"d2": "^31",
"d2-manifest": "^1.0.0",
"font-awesome": "^4.7.0",
"husky": "^1.1.2",
"immutability-helper": "^2.9.0",
"lodash": "4.17.21",
"moment": "^2.22.2",
"nano-memoize": "^1.0.0",
"postcss-rtl": "^1.3.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-jss": "^8.6.1",
"react-linkify": "^0.2.2",
"react-router-dom": "^4.3.1",
"react-scripts": "4.0.3",
"styled-jsx": "3.4.4",
"typed-html": "^1.0.0"
},
"scripts": {
"prestart": "yarn localize && d2-manifest package.json manifest.webapp",
"start": "react-scripts start",
"run-script": "npx ts-node",
"_prebuild": "yarn localize && yarn test",
"code-quality": "yarn lint && yarn prettify && yarn test",
"build": "rm -rf build/ && d2-manifest package.json manifest.webapp && react-scripts build && 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",
"eject": "react-scripts eject",
"prettify": "prettier \"{src,config,cypress}/**/*.{js,jsx,ts,tsx,json,css}\" --write",
"extract-pot": "d2-i18n-extract -p src/ -o i18n/",
"localize": "yarn extract-pot && yarn update-po && d2-i18n-generate -n vaccination-app -p ./i18n/ -o ./src/locales/",
"update-po": "yarn extract-pot && for pofile in i18n/*.po; 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",
"cy:e2e:run": "CYPRESS_E2E=true cypress run"
},
"husky": {
"hooks": {
"pre-push": "yarn code-quality"
}
},
"devDependencies": {
"@babel/core": "7.14.6",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-typescript": "7.14.5",
"@types/classnames": "^2.2.7",
"@types/jest": "26.0.23",
"@types/md5": "^2.3.5",
"@types/node": "^10.12.19",
"@types/react": "^16.7.22",
"@types/react-dom": "^16.0.11",
"@types/react-linkify": "^0.2.0",
"@types/react-router-dom": "^4",
"@typescript-eslint/eslint-plugin": "5",
"@typescript-eslint/parser": "5",
"@typescript-eslint/typescript-estree": "4.33.0",
"babel-core": "6.26.3",
"babel-eslint": "10.1.0",
"cypress": "^3.1.5",
"cypress-xpath": "^1.3.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-to-json": "^3.3.4",
"eslint": "7.28.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-react-app": "6.0.0",
"eslint-plugin-cypress": "2.11.3",
"eslint-plugin-flowtype": "5.7.2",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-react-hooks": "4.2.0",
"eslint-plugin-unused-imports": "^1.1.4",
"html": "^1.0.0",
"http-proxy-middleware": "1.3.1",
"jest": "27.0.4",
"jest-transform-stub": "^2.0.0",
"loglevel": "^1.6.1",
"md5": "^2.3.0",
"prettier": "2.3.1",
"prop-types": "^15.6.0",
"raw-loader": "^3.1.0",
"sinon": "^7.1.1",
"ts-jest": "27.0.3",
"ts-node": "10.8.1",
"typescript": "4.9.3",
"wait-on": "^3.2.0",
"xlsx": "^0.18.5"
},
"manifest.webapp": {
"name": "Vaccination campaign",
"description": "DHIS2 MSF Vaccination Campaign App",
"icons": {
"48": "icon.png"
},
"developer": {
"url": "https://www.eyeseetea.com",
"name": "EyeSeeTea team"
},
"activities": {
"dhis": {
"href": "*"
}
}
}
}