From bc864e582b480f353e177eb946657d75ac8690a0 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Thu, 26 Jan 2017 14:13:48 +0100 Subject: [PATCH] Try using Node 4. --- packages/cspell-tools/.travis.yml | 1 + packages/cspell-tools/package.json | 2 +- packages/cspell-tools/src/app.ts | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/cspell-tools/.travis.yml b/packages/cspell-tools/.travis.yml index 28efe9faab3..8d7d88df6e8 100644 --- a/packages/cspell-tools/.travis.yml +++ b/packages/cspell-tools/.travis.yml @@ -2,6 +2,7 @@ language: node_js node_js: - "node" - "6" + - "4" script: - npm install - npm run build diff --git a/packages/cspell-tools/package.json b/packages/cspell-tools/package.json index df99136f812..fa849279932 100644 --- a/packages/cspell-tools/package.json +++ b/packages/cspell-tools/package.json @@ -54,6 +54,6 @@ "xregexp": "^3.1.1" }, "engines": { - "node": ">=6.0.0" + "node": ">=4.7.0" } } diff --git a/packages/cspell-tools/src/app.ts b/packages/cspell-tools/src/app.ts index 9addb65a556..dc0bba88746 100644 --- a/packages/cspell-tools/src/app.ts +++ b/packages/cspell-tools/src/app.ts @@ -2,8 +2,7 @@ import { compileWordList } from './wordListCompiler'; import * as path from 'path'; - -const program = require('commander'); +import * as program from 'commander'; const npmPackage = require(path.join(__dirname, '..', 'package.json')); program