|
@@ -4,8 +4,8 @@
|
|
|
"scripts": {
|
|
|
"dev": "next -p 8080",
|
|
|
"build": "next build",
|
|
|
- "start": "next start",
|
|
|
- "export": "npm run build && next export",
|
|
|
+ "start": "next start -p 8080",
|
|
|
+ "export": "NODE_ENV=production ENV=production npm run build && next export",
|
|
|
"lint": "eslint . --ext .ts,.tsx",
|
|
|
"test": "jest --config=./config/jest.config.js"
|
|
|
},
|
|
@@ -13,17 +13,22 @@
|
|
|
"lint"
|
|
|
],
|
|
|
"dependencies": {
|
|
|
+ "@babel/core": "^7.8.4",
|
|
|
+ "@babel/polyfill": "^7.8.3",
|
|
|
"@material-ui/core": "^4.6.1",
|
|
|
+ "@types/lodash": "^4.14.149",
|
|
|
"babel-plugin-inline-react-svg": "^1.1.0",
|
|
|
+ "core-js": "3.6.4",
|
|
|
"immer": "^5.0.0",
|
|
|
"isomorphic-unfetch": "^3.0.0",
|
|
|
"js-cookie": "^2.2.0",
|
|
|
+ "lodash": "^4.17.15",
|
|
|
"mobile-detect": "^1.4.3",
|
|
|
- "next": "9.1.6",
|
|
|
- "next-i18next": "^2.0.0",
|
|
|
+ "next": "9.2.1",
|
|
|
+ "next-i18next": "4.1.0",
|
|
|
"next-transpile-modules": "^2.3.1",
|
|
|
"notistack": "^0.9.6",
|
|
|
- "pdfjs-dist": "^2.2.228",
|
|
|
+ "pdfjs-dist": "2.3.200",
|
|
|
"prop-types": "^15.6.2",
|
|
|
"query-string": "^6.9.0",
|
|
|
"react": "16.10.0",
|
|
@@ -31,12 +36,13 @@
|
|
|
"react-popper": "^1.3.6",
|
|
|
"redux-devtools-extension": "^2.13.5",
|
|
|
"rxjs": "^6.5.3",
|
|
|
- "styled-components": "4.4.0",
|
|
|
+ "styled-components": "5.0.0",
|
|
|
"webpack": "^4.41.2"
|
|
|
},
|
|
|
"license": "MIT",
|
|
|
"devDependencies": {
|
|
|
"@babel/node": "^7.2.2",
|
|
|
+ "@babel/preset-env": "^7.8.3",
|
|
|
"@testing-library/jest-dom": "^4.2.3",
|
|
|
"@testing-library/react": "^9.3.2",
|
|
|
"@types/jest": "^24.0.23",
|