diff --git a/.travis.yml b/.travis.yml index 7dcf35c..c5a431f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ node_js: - 6 env: + - TYPESCRIPT_VERSION="3.1" - TYPESCRIPT_VERSION="3.0" - TYPESCRIPT_VERSION="2.9" - TYPESCRIPT_VERSION="2.8" diff --git a/package.json b/package.json index 28cdcfc..3c6d876 100644 --- a/package.json +++ b/package.json @@ -55,8 +55,8 @@ "chokidar": "^1.6.1", "husky": "^0.14.3", "lint-staged": "^4.1.3", - "prettier": "^1.10.2", + "prettier": "^1.15.2", "tslint": "^5.0.0", - "typescript": "^3.0.1" + "typescript": "^3.1.6" } } diff --git a/test/runner.js b/test/runner.js index e81b335..912ca83 100644 --- a/test/runner.js +++ b/test/runner.js @@ -16,13 +16,10 @@ var exitCode = 0 directories.forEach(testFolder => { try { - execSync( - 'node ./node_modules/tslint/lib/tslint-cli.js --test test/' + testFolder, - { - stdio: 'inherit', - encoding: 'utf8', - } - ) + execSync('node ./node_modules/tslint/bin/tslint --test test/' + testFolder, { + stdio: 'inherit', + encoding: 'utf8', + }) } catch (err) { if (typeof err.signal === 'undefined') { console.error(err.stack) diff --git a/yarn.lock b/yarn.lock index 2e64419..8264c07 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1114,9 +1114,9 @@ preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" -prettier@^1.10.2: - version "1.10.2" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.10.2.tgz#1af8356d1842276a99a5b5529c82dd9e9ad3cc93" +prettier@^1.15.2: + version "1.15.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.2.tgz#d31abe22afa4351efa14c7f8b94b58bb7452205e" pretty-format@^20.0.3: version "20.0.3" @@ -1444,9 +1444,9 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0: version "0.14.5" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" -typescript@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.1.tgz#43738f29585d3a87575520a4b93ab6026ef11fdb" +typescript@^3.1.6: + version "3.1.6" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.1.6.tgz#b6543a83cfc8c2befb3f4c8fba6896f5b0c9be68" uid-number@^0.0.6: version "0.0.6"