Externalize spec typings, use eslint.

Tslint is deprecated, as such we have moved to eslint. Linted the project with more
stringent rules. The configuration will be changed as we figure out which rules we
should keep.
This commit is contained in:
Daniel Scalzi
2020-01-24 19:27:20 -05:00
parent 8911f54039
commit 064a664687
40 changed files with 2121 additions and 493 deletions

View File

@@ -8,7 +8,7 @@
"tsc": "tsc",
"build": "npm run clean && npm run tsc",
"start": "npm run build && node dist/index.js",
"lint": "tslint --project ."
"lint": "eslint . --ext .js,.ts"
},
"repository": {
"type": "git",
@@ -29,17 +29,20 @@
"@types/adm-zip": "^0.4.32",
"@types/fs-extra": "^8.0.1",
"@types/node": "^12.12.25",
"@types/yargs": "^15.0.0",
"@types/yargs": "^15.0.1",
"@typescript-eslint/eslint-plugin": "^2.17.0",
"@typescript-eslint/parser": "^2.17.0",
"eslint": "^6.8.0",
"rimraf": "^3.0.0",
"tslint": "^5.20.1",
"typescript": "^3.7.5"
},
"dependencies": {
"adm-zip": "^0.4.13",
"axios": "^0.19.1",
"axios": "^0.19.2",
"dotenv": "^8.2.0",
"fs-extra": "^8.1.0",
"toml": "^3.0.0",
"yargs": "^15.1.0"
"yargs": "^15.1.0",
"helios-distribution-types": "1.0.0-pre.1"
}
}