-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 3.51 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
{
"name": "dashboard-app",
"homepage": "http://www.imesportal.local",
"version": "31.0.1",
"description": "IMES Public Dashboard",
"private": true,
"license": "BSD-3-Clause",
"dependencies": {
"@babel/helper-validator-identifier": "^7.10.4",
"@dhis2/d2-i18n": "^1.0.4",
"@dhis2/d2-ui-analytics": "^1.0.5",
"@dhis2/d2-ui-core": "^6.0.1",
"@dhis2/d2-ui-interpretations": "^6.0.1",
"@dhis2/d2-ui-mentions-wrapper": "^6.0.1",
"@dhis2/d2-ui-rich-text": "^6.0.1",
"@dhis2/d2-ui-sharing-dialog": "^6.0.1",
"@dhis2/d2-ui-translation-dialog": "^6.0.1",
"@dhis2/data-visualizer-plugin": "^33.0.3",
"@dhis2/ui": "1.0.0-beta.15",
"@dhis2/ui-core": "2.5.1",
"@material-ui/core": "^3.9.2",
"@material-ui/icons": "^3.0.2",
"d2": "^31.6.0",
"d2-utilizr": "^0.2.16",
"i18next": "^15.0.6",
"lodash": "^4.17.11",
"material-design-icons": "^3.0.1",
"moment": "^2.24.0",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react-grid-layout": "^0.16.6",
"react-redux": "^6.0.1",
"react-router-dom": "^4.3.1",
"react-scripts": "2.1.8",
"redux": "^4.0.1",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"source-map-explorer": "^1.7.0",
"typeface-roboto": "^0.0.54",
"whatwg-fetch": "^3.0.0",
"yarn": "^1.22.10"
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"prestart": "npm run extract-pot && npm run localize && npm run manifest",
"start": "react-scripts start",
"lint": "eslint -c .eslintrc.json src",
"coverage": "npm test -- --coverage",
"prebuild": "rm -rf build && mkdir build && npm run manifest && npm run localize",
"build": "react-scripts build --dev",
"build-netlify": "BASE_URL=\"https://play.dhis2.org/dev\" npm run build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"manifest": "d2-manifest package.json ./public/manifest.webapp --manifest.activities.dhis.href=${BASE_URL:=..}",
"extract-pot": "d2-i18n-extract -p src/ -o i18n/",
"localize": "d2-i18n-generate -n dashboards-app -p ./i18n/ -o ./src/locales/"
},
"husky": {
"hooks": {
"pre-commit": "git add ./i18n/"
}
},
"manifest.webapp": {
"name": "IMES Dashboard",
"description": "IMES Public Dashboard App",
"icons": {
"48": "icon.png"
},
"developer": {
"url": "",
"name": "PS3"
},
"dhis2": {
"apiVersion": "31"
},
"activities": {
"dhis": {
"href": ".."
}
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@dhis2/d2-i18n-extract": "^1.0.7",
"@dhis2/d2-i18n-generate": "^1.1.0",
"d2-manifest": "^1.0.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.10.0",
"eslint-config-prettier": "^4.1.0",
"eslint-plugin-prettier": "^3.0.1",
"husky": "^1.3.1",
"immutability-helper": "^3.0.0",
"prettier": "^1.16.4"
}
}