Add babel to esbuild and start on translation

This commit is contained in:
viktorstrate
2021-04-04 12:06:12 +02:00
parent ac8632cd82
commit ef50d7f23b
7 changed files with 136 additions and 31 deletions

View File

@@ -25,6 +25,7 @@
"copy-to-clipboard": "^3.3.1",
"dotenv": "^8.2.0",
"esbuild": "^0.8.52",
"esbuild-plugin-babel": "^0.2.3",
"eslint": "^7.23.0",
"eslint-plugin-jest": "^24.3.3",
"eslint-plugin-jest-dom": "^3.7.0",
@@ -32,11 +33,13 @@
"eslint-plugin-react-hooks": "^4.2.0",
"fs-extra": "^9.1.0",
"graphql": "^15.5.0",
"i18next": "^20.1.0",
"mapbox-gl": "^2.2.0",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-i18next": "^11.8.12",
"react-router-dom": "^5.2.0",
"react-router-prop-types": "^1.0.5",
"react-spring": "^8.0.27",
@@ -49,8 +52,8 @@
"workbox-build": "^6.1.2"
},
"scripts": {
"start": "node build.js watch",
"build": "NODE_ENV=production node build.js",
"start": "node build.mjs watch",
"build": "NODE_ENV=production node build.mjs",
"test": "npm run lint && npm run jest",
"lint": "eslint ./src --max-warnings 0 --cache",
"jest": "jest",