Set up CI with ESLint linter and Mocha test runner (#661)

This commit is contained in:
Thomas Durieux
2026-04-15 04:34:03 +02:00
committed by GitHub
parent 812f8b6314
commit f3641c8ce3
14 changed files with 1991 additions and 38 deletions
+5 -1
View File
@@ -7,6 +7,7 @@
},
"scripts": {
"test": "mocha --reporter spec",
"lint": "eslint .",
"start": "node --inspect=5858 -r ts-node/register ./src/server/index.ts",
"dev": "nodemon --transpile-only ./src/server/index.ts",
"build": "rm -rf build && tsc && gulp",
@@ -73,6 +74,7 @@
"unzip-stream": "^0.3.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/archiver": "^5.3.4",
"@types/compression": "^1.7.5",
"@types/crypto-js": "^4.2.2",
@@ -88,6 +90,7 @@
"@types/passport-github2": "^1.2.9",
"@types/unzip-stream": "^0.3.4",
"chai": "^4.5.0",
"eslint": "^10.2.0",
"gulp": "^5.0.0",
"gulp-clean-css": "^4.3.0",
"gulp-concat": "^2.6.1",
@@ -97,7 +100,8 @@
"mocha": "^10.4.0",
"nodemon": "^3.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.3"
"typescript": "^5.4.3",
"typescript-eslint": "^8.58.2"
},
"nodemonConfig": {
"ignore": [