forked from dhis2/import-export-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 2.79 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
{
"name": "import-export-app",
"description": "Import/Export DHIS2 data",
"version": "31.0.0",
"private": true,
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"extract-pot": "d2-i18n-extract -p src/ -o i18n/",
"localize": "yarn extract-pot && d2-i18n-generate -n import-export-app -p ./i18n/ -o ./src/locales/",
"prestart": "npm run localize",
"prebuild": "npm run localize",
"pretest": "npm run localize",
"lint:style": "d2-style js check --all",
"cypress:start": "BROWSER=none yarn start",
"cypress:envtest": "node ./scripts/check_env_vars.js",
"cypress:browser": "cypress open --config baseUrl=http://localhost:3000,defaultCommandTimeout=15000",
"cypress:ci": "NO_COLOR=1 cypress run -b $BROWSER --config baseUrl=http://localhost:3000,defaultCommandTimeout=15000",
"cypress:open": "yarn cypress:envtest && concurrently --kill-others -n cra,cypress 'yarn cypress:start' 'wait-on http-get://localhost:3000 && yarn cypress:browser --env LOGIN_URL=$REACT_APP_DHIS2_BASE_URL'",
"cypress:run": "yarn cypress:envtest && concurrently --kill-others --success first -n cra,cypress 'yarn cypress:start' 'wait-on http-get://localhost:3000 && yarn cypress:ci --env LOGIN_URL=$REACT_APP_DHIS2_BASE_URL'"
},
"dependencies": {
"@dhis2/d2-i18n": "^1.0.6",
"@dhis2/ui": "^1.0.0-beta.15",
"@dhis2/ui-core": "^3.7.1",
"axios": "^0.19.0",
"classnames": "^2.2.5",
"d2": "^30.0.4",
"eventemitter2": "^5.0.1",
"final-form": "^4.18.2",
"jszip": "^3.1.5",
"material-ui": "^0.20.0",
"moment": "^2.22.1",
"prop-types": "^15.6.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-final-form": "^6.3.0",
"react-redux": "^7.0.3",
"react-router-dom": "^5.0.0",
"react-scripts": "3.0.1",
"redux": "^4.0.1",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"typeface-roboto": "^0.0.54",
"url-join": "^4.0.1"
},
"devDependencies": {
"@dhis2/cli-style": "^3.2.2",
"@dhis2/d2-i18n-extract": "^1.0.8",
"@dhis2/d2-i18n-generate": "^1.1.1",
"concurrently": "^5.0.0",
"cypress": "^3.6.1",
"cypress-cucumber-preprocessor": "^1.16.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.13.2",
"enzyme-to-json": "^3.4.0",
"husky": "^2.3.0",
"redux-mock-store": "^1.5.3",
"wait-on": "^3.3.0"
},
"husky": {
"hooks": {
"commit-msg": "d2-style commit check",
"pre-commit": "d2-style js apply"
}
},
"greenkeeper": {
"ignore": [
"d2"
]
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"cypress-cucumber-preprocessor": {
"nonGlobalStepDefinitions": true
}
}