Skip to content

Commit

Permalink
Update the build and test to use latest packages
Browse files Browse the repository at this point in the history
  • Loading branch information
sheetalkamat committed Sep 27, 2016
1 parent 25e792b commit b8bd8cd
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 44 deletions.
10 changes: 5 additions & 5 deletions build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"start": "tsc && node ./build.js"
},
"dependencies": {
"@types/js-yaml": "^3.5.28",
"@types/node": "^6.0.39",
"js-yaml": "^3.6.1",
"plist": "^2.0.1",
"typescript": "^2.1.0-dev.20160920"
"@types/js-yaml": "latest",
"@types/node": "latest",
"js-yaml": "latest",
"plist": "latest",
"typescript": "latest"
}
}
3 changes: 0 additions & 3 deletions tests/.tsdrc

This file was deleted.

4 changes: 1 addition & 3 deletions tests/build.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/// <reference path="typings/node/node.d.ts" />

import * as vt from 'vscode-textmate/release/main';
import fs = require('fs');
import path = require('path');
Expand Down Expand Up @@ -43,7 +41,7 @@ const tsReactGrammarInfo = getGrammarInfo(tsReactGrammarFileName);

interface Grammar {
grammar: vt.IGrammar;
ruleStack?: vt.StackElement[];
ruleStack?: vt.StackElement;
}

function initGrammar(grammar: vt.IGrammar): Grammar {
Expand Down
17 changes: 8 additions & 9 deletions tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@
"description": "",
"main": "test.ts",
"scripts": {
"postinstall": "tsd install",
"pretest": "node ../build/build.js && tsc && node ./build.js",
"test": "mocha test.js"
},
"dependencies": {
"chai": "^3.4.1",
"mocha": "^2.3.4",
"typescript": "^1.6.2",
"vscode-textmate": "^1.0.6"
},
"devDependencies": {
"tsd": "^0.6.5"
"@types/chai": "latest",
"@types/mocha": "latest",
"@types/node": "latest",
"chai": "latest",
"mocha": "latest",
"typescript": "latest",
"vscode-textmate": "latest"
}
}
}
3 changes: 0 additions & 3 deletions tests/test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/// <reference path="typings/mocha/mocha.d.ts" />
/// <reference path="typings/chai/chai.d.ts" />

import fs = require('fs');
import chai = require('chai');

Expand Down
21 changes: 0 additions & 21 deletions tests/tsd.json

This file was deleted.

0 comments on commit b8bd8cd

Please sign in to comment.