chore: remove babel usage (#7452)

This commit is contained in:
Adrien de Peretti authored and GitHub committed 2024-05-24 20:51:12 +02:00
1 parent 8acba7aba6
commit f585b13c96
18 files changed
+69 -556

No files matched your search

+6 -9
View File
@@ -20,20 +20,17 @@
"author": "Sebastian Rindom",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/node": "^7.22.10",
"@babel/preset-typescript": "^7.15.0",
"babel-preset-medusa-package": "^1.1.19",
"cross-env": "^5.2.1",
"jest": "^25.5.4",
"nodemon": "^2.0.20"
"nodemon": "^2.0.20",
"rimraf": "^3.0.2",
"typescript": "^4.1.3"
},
"scripts": {
"start": "nodemon --watch plugins/ --watch src/ --exec babel-node src/index.js",
"start": "nodemon --watch plugins/ --watch src/ --exec node src/index.js",
"prepare": "cross-env NODE_ENV=production yarn run build",
"watch": "babel -w src --out-dir dist/ --extensions \".ts,.js\" --ignore '**/__tests__','**/__mocks__'",
"build": "babel src -d dist --extensions \".ts,.js\" --ignore '**/__tests__','**/__mocks__'",
"watch": "tsc --build --watch",
"build": "rimraf dist && tsc --build",
"serve": "node dist/index.js",
"postinstall": "node dist/postinstall.js || true",
"test": "jest --passWithNoTests src"