From fa393b335bdc71cb784527e5013a09434e7698ab Mon Sep 17 00:00:00 2001 From: Dave Gramlich Date: Fri, 14 Jun 2019 06:15:35 -0700 Subject: [PATCH] chore: script/ci housekeeping (#3) --- .eslintrc.json | 1 + .travis.yml | 3 +-- package.json | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 6ea0661..81af2c6 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -14,6 +14,7 @@ "@typescript-eslint" ], "rules": { + "@typescript-eslint/explicit-function-return-type": 0, "@typescript-eslint/indent": [ "error", 2 diff --git a/.travis.yml b/.travis.yml index 432dbd0..f98fed0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,5 @@ language: node_js node_js: - - '11' + - '12' - '10' - '8' - - '6' diff --git a/package.json b/package.json index 3fbb77f..f55e892 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "scripts": { "build": "tsc", "lint": "eslint ./{index,test}.ts", - "test": "ava ./test.ts --verbose", + "test": "npm run lint && ava ./test.ts --verbose", "prepublishOnly": "npm run build" }, "repository": "callmehiphop/pb-util", @@ -30,10 +30,11 @@ }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^1.5.0", - "ava": "^1.4.0", + "@typescript-eslint/parser": "^1.10.2", + "ava": "^2.1.0", "eslint": "^5.15.3", "ts-node": "^8.0.3", - "typescript": "^3.3.4000" + "typescript": "^3.5.0" }, "ava": { "compileEnhancements": false,