mirror of
https://github.com/tcgdex/compiler.git
synced 2025-06-28 18:09:20 +00:00
Add eslint (#12)
* Done ! Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net> * ACT doesn't wanna work so I push Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net> * Continued work on ESLint Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net> * Two files remaining Signed-off-by: Avior <github@avior.me> * Fixed set cards not found when using ids Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
10
package.json
10
package.json
@ -2,14 +2,15 @@
|
||||
"name": "@tcgdex/compiler",
|
||||
"version": "2.0.0",
|
||||
"repository": "https://github.com/tcgdex/compiler.git",
|
||||
"author": "Avior <florian@avior.me>",
|
||||
"author": "Avior <github@avior.me>",
|
||||
"license": "MIT",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"db:compile": "cd db && tsc --project tsconfig.json",
|
||||
"db:test": "cd db && tsc --noEmit --project tsconfig.json",
|
||||
"start": "node --require ts-node/register --unhandled-rejections=strict main.ts",
|
||||
"upload": "node --require ts-node/register --unhandled-rejections=strict upload.ts"
|
||||
"upload": "node --require ts-node/register --unhandled-rejections=strict upload.ts",
|
||||
"lint": "eslint ./utils ./endpoints ./*.ts --ext .ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@dzeio/logger": "^2.0.0-alpha.0",
|
||||
@ -26,5 +27,10 @@
|
||||
"ssh2": "^0.8.9",
|
||||
"ts-node": "^9.1.1",
|
||||
"typescript": "^4.2.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
||||
"@typescript-eslint/parser": "^4.26.0",
|
||||
"eslint": "^7.27.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user