Merge branch 'devel' into 'testing'
Refactoring and codes cleaning See merge request !144
.babelrc
0 → 100644
__tests/db.unit.test.js
0 → 100644
app.ts
deleted
100644 → 0
classes/project.ts
deleted
100644 → 0
classes/repo.ts
deleted
100644 → 0
classes/user.ts
deleted
100644 → 0
classes/website.ts
deleted
100644 → 0
config/dbconn.ts
deleted
100644 → 0
functions/gitlab.ts
deleted
100644 → 0
functions/helpers.ts
deleted
100644 → 0
functions/methods.ts
deleted
100644 → 0
jest.config.js
0 → 100644
This diff is collapsed.
| ... | ... | @@ -16,10 +16,13 @@ |
| "url": "https://transfer.hft-stuttgart.de/gitlab/m4lab_tv1/user-account.git" | ||
| }, | ||
| "scripts": { | ||
| "start": "nodemon app.ts", | ||
| "build": "tsc -build", | ||
| "clean": "tsc -build --clean", | ||
| "test": "jest" | ||
| "start:dev": "nodemon ./src/app.ts", | ||
| "start": "nodemon ./built/app.js", | ||
| "test": "jest", | ||
| "clean-code": "ts-standard --fix", | ||
| "check-types": "tsc --noEmit", | ||
| "clean": "rm -rf ./built", | ||
| "build": "babel src --out-dir built --extensions .ts --copy-files" | ||
| }, | ||
| "dependencies": { | ||
| "async": "^3.1.0", | ||
| ... | ... | @@ -28,7 +31,6 @@ |
| "body-parser": "^1.19.0", | ||
| "compression": "^1.7.4", | ||
| "cookie-parser": "1.4.3", | ||
| "dotenv": "^9.0.2", | ||
| "express": "^4.17.1", | ||
| "express-fileupload": "^1.1.6", | ||
| "express-flash-2": "^1.0.1", | ||
| ... | ... | @@ -36,7 +38,6 @@ |
| "form-data": "^3.0.0", | ||
| "fs": "0.0.1-security", | ||
| "helmet": "^4.6.0", | ||
| "jest": "^26.5.0", | ||
| "method-override": "^3.0.0", | ||
| "morgan": "^1.9.1", | ||
| "mysql2": "^2.2.5", | ||
| ... | ... | @@ -47,6 +48,10 @@ |
| "pug": "^3.0.2" | ||
| }, | ||
| "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/bcryptjs": "^2.4.2", | ||
| "@types/compression": "^1.7.0", | ||
| ... | ... | @@ -55,7 +60,7 @@ |
| "@types/express-fileupload": "^1.1.6", | ||
| "@types/express-flash-2": "^1.0.6", | ||
| "@types/express-session": "^1.17.0", | ||
| "@types/jest": "^26.0.23", | ||
| "@types/jest": "^28.1.3", | ||
| "@types/method-override": "^0.0.31", | ||
| "@types/morgan": "^1.9.2", | ||
| "@types/mysql": "^2.15.18", | ||
| ... | ... | @@ -63,9 +68,15 @@ |
| "@types/nodemailer": "^6.4.1", | ||
| "@types/passport": "^1.0.6", | ||
| "@types/passport-strategy": "^0.2.35", | ||
| "@types/supertest": "^2.0.12", | ||
| "@types/xml2js": "^0.4.8", | ||
| "babel-preset-minify": "^0.5.2", | ||
| "jest": "^28.1.1", | ||
| "nodemon": "^2.0.1", | ||
| "supertest": "^6.2.3", | ||
| "ts-jest": "^28.0.5", | ||
| "ts-node": "^9.1.1", | ||
| "ts-standard": "^11.0.0", | ||
| "typescript": "^4.2.4" | ||
| }, | ||
| "engines": { | ||
| ... | ... |
Please register or sign in to comment