-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
132 lines (132 loc) · 4.74 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
{
"name": "bulk-load",
"description": "Bulk importing made easy",
"version": "3.4.1",
"license": "GPL-3.0",
"author": "EyeSeeTea team",
"homepage": ".",
"repository": {
"type": "git",
"url": "git+https://github.com/eyeseetea/bulk-load.git"
},
"dependencies": {
"@dhis2/app-runtime": "2.1.1",
"@dhis2/d2-i18n": "1.0.6",
"@dhis2/d2-ui-core": "6.5.10",
"@dhis2/ui-core": "4.17.1",
"@dhis2/ui-widgets": "2.1.0",
"@material-ui/core": "4.9.10",
"@material-ui/icons": "4.9.1",
"@material-ui/styles": "4.9.10",
"axios": "0.19.2",
"core-js": "3.6.5",
"d2": "31.8.1",
"d2-api": "0.2.3",
"d2-ui-components": "1.4.2",
"dateformat": "3.0.3",
"excel4node": "1.7.2",
"exceljs": "3.8.2",
"file-saver": "2.0.2",
"jquery": "3.5.0",
"lodash": "4.17.15",
"moment": "2.24.0",
"prop-types": "15.7.2",
"react": "16.13.1",
"react-color": "2.18.1",
"react-dom": "16.13.1",
"react-dropzone": "10.2.2",
"react-router-dom": "5.2.0",
"react-scripts": "3.4.1",
"styled-jsx": "3.2.5",
"xlsx-populate": "git+https://github.com/EyeSeeTea/xlsx-populate.git#development"
},
"scripts": {
"prestart": "yarn localize && d2-manifest package.json manifest.webapp",
"start": "react-scripts start",
"prebuild": "yarn localize && 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 --ext .js,.jsx,.ts,.tsx",
"eject": "react-scripts eject",
"prettify": "prettier \"{src,config,cypress}/**/*.{js,jsx,ts,tsx,json,css}\" --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 && 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 --browser chrome"
},
"husky": {
"hooks": {
"pre-push": "yarn prettify && yarn lint && yarn extract-pot && yarn jest"
}
},
"devDependencies": {
"@babel/core": "7.9.0",
"@babel/preset-typescript": "7.9.0",
"@dhis2/d2-i18n-extract": "1.0.8",
"@dhis2/d2-i18n-generate": "1.2.0",
"@testing-library/jest-dom": "5.8.0",
"@testing-library/react": "10.0.4",
"@types/file-saver": "2.0.1",
"@types/jest": "25.2.3",
"@types/lodash": "4.14.153",
"@types/node": "14.0.5",
"@types/react": "16.9.35",
"@types/react-color": "3.0.2",
"@types/react-dom": "16.9.8",
"@types/react-router-dom": "5.1.5",
"@types/webpack-env": "1.15.2",
"@types/xlsx-populate": "git+https://github.com/JanLoebel/types-xlsx-populate.git",
"@typescript-eslint/eslint-plugin": "2.28.0",
"@typescript-eslint/parser": "2.28.0",
"babel-core": "6.26.3",
"babel-eslint": "10.1.0",
"babel-jest": "^26.0.1",
"babel-preset-react-app": "9.1.2",
"cypress": "4.6.0",
"cypress-xpath": "1.4.0",
"d2-manifest": "1.0.0",
"eslint": "7.0.0",
"eslint-config-prettier": "6.11.0",
"eslint-config-react": "1.1.7",
"eslint-config-react-app": "5.2.1",
"eslint-plugin-cypress": "2.10.3",
"eslint-plugin-flowtype": "5.1.0",
"eslint-plugin-import": "2.20.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "3.1.3",
"eslint-plugin-react": "7.20.0",
"eslint-plugin-react-hooks": "4.0.2",
"husky": "4.2.5",
"jest": "26.0.1",
"postcss-rtl": "1.7.3",
"prettier": "2.0.5",
"typescript": "3.9.3",
"wait-on": "5.0.0"
},
"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"
]
}