package.json 6.25 KB
Newer Older
1
{
2
  "name": "@gringlobal-ce/ui-express",
3
4
5
6
  "version": "1.0.0",
  "license": "Apache-2.0",
  "description": "",
  "scripts": {
7
    "clean": "rimraf generated target react-loadable.json",
Matija Obreza's avatar
Matija Obreza committed
8
    "eslint": "eslint . --ext .js,.jsx,.ts,.tsx",
Matija Obreza's avatar
Matija Obreza committed
9
    "i18nGenerate": "node ../i18n/src/tools/generateI18n.ts --moduleName=express --includedLocales=../client/locales/**/*.json",
10
    "build": "yarn run clean && cross-env NODE_ENV=production lerna run i18nGenerate && yarn build:client && yarn build:server",
Matija Obreza's avatar
Matija Obreza committed
11
12
    "build:server": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production webpack --config config/server.config.js",
    "build:client": "cross-env NODE_OPTIONS=--max_old_space_size=8192 NODE_ENV=production webpack --config config/webpack-production.config.js",
13
    "start:dev": "lerna run i18nGenerate && cross-env NODE_OPTIONS=--max_old_space_size=8192 webpack-dev-server --config config/webpack-development.config.js",
14
    "serve:prod": "lerna run i18nGenerate && cross-env NODE_OPTIONS=--max_old_space_size=8192 webpack-dev-server --config config/webpack-production.config.js",
15
16
    "start:prod": "yarn build && yarn run:ssr",
    "run:ssr": "cd target/app/server && node server.js",
17
    "build:debug": "yarn run clean && lerna run i18nGenerate && yarn run build:client:debug && yarn run build:server:debug",
18
19
    "build:server:debug": "cross-env NODE_OPTIONS=--max_old_space_size=8192 webpack --config config/server.config.js",
    "build:client:debug": "cross-env NODE_OPTIONS=--max_old_space_size=8192 webpack --config config/webpack-development.config.js",
20
21
    "test": "jest",
    "test:integration": "jest -c jest.integration.config.js",
Matija Obreza's avatar
Matija Obreza committed
22
23
    "test:unit": "jest -c jest.unit.config.js",
    "bundles": "webpack --config config/webpack-analyze.config.js"
24
  },
25
26
27
  "resolutions": {
    "bn.js": "^5.0.0"
  },
28
  "dependencies": {
29
    "@fontsource/roboto": "^4.5.1",
30
    "@gringlobal-ce/client": "*",
Maksym Tishchenko's avatar
Maksym Tishchenko committed
31
    "@hcaptcha/react-hcaptcha": "^1.1.0",
32
33
34
35
    "@material-ui/core": "^4.0.0",
    "@material-ui/icons": "^4.0.0",
    "@material-ui/lab": "^4.0.0-alpha",
    "@material-ui/styles": "^4.0.0",
Matija Obreza's avatar
Matija Obreza committed
36
    "@zxing/library": "^0.18.0",
Matija Obreza's avatar
Matija Obreza committed
37
    "axios": "^0.21.1",
38
39
40
    "chart.js": "^2.0.0",
    "connected-react-router": "^6.0.0",
    "cookie-parser": "^1.0.0",
Matija Obreza's avatar
Matija Obreza committed
41
    "core-js": "^3.12.1",
Matija Obreza's avatar
Matija Obreza committed
42
    "d3": "5",
43
44
45
46
47
48
49
50
    "express": "^4.0.0",
    "express-http-proxy": "^1.0.0",
    "final-form": "^4.0.0",
    "final-form-arrays": "^3.0.0",
    "final-form-calculate": "^1.0.0",
    "history": "^4.0.0",
    "i18next": "^19.0.0",
    "i18next-browser-languagedetector": "^4.0.0",
Oleksii Savran's avatar
Oleksii Savran committed
51
    "i18next-express-middleware": "^2.0.0",
52
    "i18next-sync-fs-backend": "^1.0.0",
Maksym Tishchenko's avatar
Maksym Tishchenko committed
53
    "i18next-xhr-backend": "^2.0.1",
54
55
56
    "immutability-helper": "^3.0.0",
    "js-md5": "^0.7.0",
    "jsonwebtoken": "^8.0.0",
57
    "leaflet": "^1.7.1",
58
59
    "lodash": "^4.0.0",
    "memoize-one": "^5.0.0",
60
    "mustache": "^4.2.0",
61
62
63
    "normalize.css": "^8.0.0",
    "path": "^0.12.0",
    "prop-types": "^15.0.0",
64
    "qrcode": "^1.4.4",
65
    "react": "^16.0.0",
Oleksii Savran's avatar
Oleksii Savran committed
66
    "react-chartkick": "^0.4.0",
67
68
69
70
71
72
73
74
    "react-dnd": "^11.0.0",
    "react-dnd-html5-backend": "^11.0.0",
    "react-dom": "^16.0.0",
    "react-final-form": "^6.0.0",
    "react-final-form-arrays": "^3.0.0",
    "react-fontawesome": "^1.0.0",
    "react-helmet-async": "^1.0.0",
    "react-i18next": "^11.0.0",
75
    "react-leaflet": "^3.1.0",
Matija Obreza's avatar
Matija Obreza committed
76
    "react-loadable": "^5.0.0",
77
    "react-markdown": "^6.0.0",
78
79
80
81
82
83
84
    "react-redux": "^7.0.0",
    "react-router": "^5.0.0",
    "react-router-dom": "^5.0.0",
    "react-virtualized": "^9.0.0",
    "redux": "^4.0.0",
    "redux-saga": "^1.0.0",
    "redux-thunk": "^2.0.0",
Matija Obreza's avatar
Matija Obreza committed
85
    "regenerator-runtime": "^0.13.7",
86
    "remark-gfm": "^1.0.0",
87
    "serialize-javascript": "^4.0.0",
88
    "url-template": "^2.0.0"
89
90
  },
  "devDependencies": {
91
92
    "@babel/cli": "^7.0.0",
    "@babel/core": "^7.0.0",
93
94
95
    "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
    "@babel/plugin-syntax-dynamic-import": "^7.8.3",
    "@babel/preset-env": "^7.0.0",
Matija Obreza's avatar
Matija Obreza committed
96
97
    "@babel/preset-react": "^7.0.0",
    "@babel/preset-typescript": "^7.0.0",
98
    "@gringlobal-ce/i18n": "*",
99
100
101
102
    "@types/enzyme": "^3.0.0",
    "@types/jest": "^25.0.0",
    "@types/node": "^14.0.0",
    "@types/react": "^16.0.0",
103
    "@types/react-leaflet": "^2.8.1",
Matija Obreza's avatar
Matija Obreza committed
104
    "@types/react-router": "^5.0.0",
105
106
107
108
109
110
111
112
113
    "@types/react-router-dom": "^5.0.0",
    "@types/redux-form": "^8.0.0",
    "@types/webpack-env": "^1.0.0",
    "@typescript-eslint/eslint-plugin": "^3.0.0",
    "@typescript-eslint/parser": "^3.0.0",
    "awesome-typescript-loader": "^5.0.0",
    "axios-mock-adapter": "^1.0.0",
    "babel-eslint": "^10.0.0",
    "copy-webpack-plugin": "^6.0.0",
114
    "cross-env": "^7.0.0",
115
116
117
118
119
120
121
122
123
124
125
126
    "css-loader": "^3.0.0",
    "enzyme": "^3.0.0",
    "enzyme-adapter-react-16": "^1.0.0",
    "enzyme-to-json": "^3.0.0",
    "es6-promise": "^4.0.0",
    "eslint": "^7.0.0",
    "eslint-config-airbnb": "^18.0.0",
    "eslint-config-prettier": "^6.0.0",
    "eslint-plugin-import": "^2.0.0",
    "eslint-plugin-jsx-a11y": "^6.0.0",
    "eslint-plugin-prefer-arrow": "^1.0.0",
    "eslint-plugin-react": "^7.0.0",
Matija Obreza's avatar
Matija Obreza committed
127
128
    "eslint-plugin-react-hooks": "^4.0.0",
    "eslint-webpack-plugin": "^2.0.0",
129
    "fetch-mock": "^9.0.0",
Oleksii Savran's avatar
Oleksii Savran committed
130
    "file-loader": "^6.0.0",
131
    "flattenjs": "^2.0.0",
132
133
    "git-revision-webpack-plugin": "^3.0.0",
    "html-webpack-plugin": "^4.0.0",
Oleksii Savran's avatar
Oleksii Savran committed
134
    "html-webpack-skip-assets-plugin": "^0.0.2",
135
136
    "jest": "^26.0.0",
    "jsdom": "^16.0.0",
Maksym Tishchenko's avatar
Maksym Tishchenko committed
137
    "lerna": "^4.0.0",
138
    "mini-css-extract-plugin": "^1.0.0",
139
    "moxios": "^0.4.0",
140
    "optimize-css-assets-webpack-plugin": "^5.0.0",
141
    "postcss-loader": "^3.0.0",
142
    "postcss-mixins": "^6.0.0",
143
    "precss": "^4.0.0",
144
145
146
147
148
    "react-hot-loader": "^4.0.0",
    "react-jss": "^10.0.0",
    "redux-mock-store": "^1.0.0",
    "resolve-url-loader": "^3.0.0",
    "rimraf": "^3.0.0",
Matija Obreza's avatar
Matija Obreza committed
149
    "sass": "^1.44.0",
150
151
152
153
154
155
156
157
158
159
160
    "sass-loader": "^8.0.0",
    "script-ext-html-webpack-plugin": "^2.0.0",
    "style-loader": "^1.0.0",
    "stylelint": "^13.0.0",
    "terser-webpack-plugin": "^3.0.0",
    "ts-jest": "^26.0.0",
    "ts-node": "^8.0.0",
    "typescript": "^3.0.0",
    "url-loader": "^4.0.0",
    "webpack": "^4.0.0",
    "webpack-bundle-analyzer": "^3.0.0",
161
    "webpack-chunk-hash": "^0.6.0",
162
163
164
165
166
    "webpack-cli": "^3.0.0",
    "webpack-dev-server": "^3.0.0",
    "webpack-hot-middleware": "^2.0.0",
    "webpack-manifest-plugin": "^2.0.0",
    "webpack-merge": "^4.0.0"
167
168
  }
}