Skip to content
Snippets Groups Projects
Commit f53e3fa9 authored by michael.minelli's avatar michael.minelli
Browse files

Package => Add Typescript ESLint

parent e5aedb5f
No related branches found
No related tags found
No related merge requests found
dist
node_modules
logs
prisma
\ No newline at end of file
{
"root" : true,
"parser" : "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
]
}
\ No newline at end of file
......@@ -9,5 +9,5 @@
"verbose": true,
"ext" : ".ts,.js",
"ignore" : [],
"exec" : "ts-node --files ./src/app.ts"
"exec" : "npm run lint; ts-node --files ./src/app.ts"
}
This diff is collapsed.
......@@ -8,6 +8,7 @@
"scripts" : {
"clean" : "rm -R dist/*",
"dotenv:build" : "npx dotenv-vault local build",
"lint" : "npx eslint .",
"genversion" : "npx genversion -s -e src/config/Version.ts",
"build" : "npm run genversion; npx prisma generate && npx tsc --project ./ && cp -R assets dist/assets",
"database:migrate" : "npx prisma migrate deploy",
......@@ -47,23 +48,25 @@
"winston" : "^3.8.2"
},
"devDependencies": {
"@types/compression" : "^1.7.2",
"@types/cors" : "^2.8.13",
"@types/express" : "^4.17.17",
"@types/jsonwebtoken" : "^9.0.2",
"@types/morgan" : "^1.9.4",
"@types/multer" : "^1.4.7",
"@types/node" : "^20.4.7",
"@types/parse-link-header": "^2.0.1",
"@types/semver" : "^7.5.3",
"@types/tar-stream" : "^2.2.2",
"@types/uuid" : "^9.0.2",
"dotenv-vault" : "^1.25.0",
"genversion" : "^3.1.1",
"nodemon" : "^3.0.1",
"prisma" : "^5.1.1",
"ts-node" : "^10.9.1",
"typescript" : "^5.1.6",
"npm" : "^9.8.1"
"@types/compression" : "^1.7.2",
"@types/cors" : "^2.8.13",
"@types/express" : "^4.17.17",
"@types/jsonwebtoken" : "^9.0.2",
"@types/morgan" : "^1.9.4",
"@types/multer" : "^1.4.7",
"@types/node" : "^20.4.7",
"@types/parse-link-header" : "^2.0.1",
"@types/semver" : "^7.5.3",
"@types/tar-stream" : "^2.2.2",
"@types/uuid" : "^9.0.2",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser" : "^6.10.0",
"dotenv-vault" : "^1.25.0",
"genversion" : "^3.1.1",
"nodemon" : "^3.0.1",
"prisma" : "^5.1.1",
"ts-node" : "^10.9.1",
"typescript" : "^5.1.6",
"npm" : "^9.8.1"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment