add babel
Showing
+3815 -326
.babelrc
0 → 100644
This source diff could not be displayed because it is too large. You can view the blob instead.
... | @@ -18,10 +18,11 @@ | ... | @@ -18,10 +18,11 @@ |
"scripts": { | "scripts": { | ||
"start:dev": "nodemon ./src/app.ts", | "start:dev": "nodemon ./src/app.ts", | ||
"start": "nodemon ./built/app.js", | "start": "nodemon ./built/app.js", | ||
"build": "tsc -build", | |||
"clean": "tsc -build --clean", | |||
"test": "jest", | "test": "jest", | ||
"clean-code": "ts-standard --fix" | "clean-code": "ts-standard --fix", | ||
"check-types": "tsc --noEmit", | |||
"clean": "rm -rf ./built", | |||
"build": "babel src --out-dir built --extensions .ts --copy-files" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"async": "^3.1.0", | "async": "^3.1.0", | ||
... | @@ -47,6 +48,10 @@ | ... | @@ -47,6 +48,10 @@ |
"pug": "^3.0.2" | "pug": "^3.0.2" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@babel/cli": "^7.18.6", | |||
"@babel/core": "^7.18.6", | |||
"@babel/preset-env": "^7.18.6", | |||
"@babel/preset-typescript": "^7.18.6", | |||
"@types/async": "^3.2.6", | "@types/async": "^3.2.6", | ||
"@types/bcryptjs": "^2.4.2", | "@types/bcryptjs": "^2.4.2", | ||
"@types/compression": "^1.7.0", | "@types/compression": "^1.7.0", | ||
... | @@ -63,9 +68,12 @@ | ... | @@ -63,9 +68,12 @@ |
"@types/nodemailer": "^6.4.1", | "@types/nodemailer": "^6.4.1", | ||
"@types/passport": "^1.0.6", | "@types/passport": "^1.0.6", | ||
"@types/passport-strategy": "^0.2.35", | "@types/passport-strategy": "^0.2.35", | ||
"@types/supertest": "^2.0.12", | |||
"@types/xml2js": "^0.4.8", | "@types/xml2js": "^0.4.8", | ||
"babel-preset-minify": "^0.5.2", | |||
"jest": "^28.1.1", | "jest": "^28.1.1", | ||
"nodemon": "^2.0.1", | "nodemon": "^2.0.1", | ||
"supertest": "^6.2.3", | |||
"ts-jest": "^28.0.5", | "ts-jest": "^28.0.5", | ||
"ts-node": "^9.1.1", | "ts-node": "^9.1.1", | ||
"ts-standard": "^11.0.0", | "ts-standard": "^11.0.0", | ||
... | ... |
Please register or sign in to comment