Skip to content

Commit

Permalink
updated dev deps and bumped mocha peer dep
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrwitek committed Apr 9, 2018
1 parent 93c281c commit bd55835
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 105 deletions.
38 changes: 13 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "ts-mocha",
"version": "1.1.0",
"description": "Mocha thin wrapper that allows running TypeScript tests with TypeScript runtime (ts-node) to get rid of compilation complexity",
"description":
"Mocha thin wrapper that allows running TypeScript tests with TypeScript runtime (ts-node) to get rid of compilation complexity",
"repository": "https://github.com/piotrwitek/ts-mocha",
"author": "Piotr Witek <[email protected]> (http://piotrwitek.github.io)",
"license": "MIT",
Expand All @@ -21,34 +22,21 @@
"prepublishOnly": "yarn run clean && yarn install --production && yarn add -D mocha && yarn test"
},
"dependencies": {
"ts-node": "^3.3.0"
"ts-node": "3.3.0"
},
"devDependencies": {
"@types/expect": "1.20.2",
"@types/mocha": "2.2.44",
"@types/node": "8.0.53",
"expect": "21.2.1",
"@types/expect": "1.20.3",
"@types/mocha": "5.0.0",
"@types/node": "9.6.2",
"expect": "22.4.3",
"husky": "0.14.3",
"mocha": "4.0.1",
"tslint": "5.8.0",
"typescript": "2.6.1"
"mocha": "5.0.5",
"tslint": "5.9.1",
"typescript": "2.8.1"
},
"peerDependencies": {
"mocha": "^3.X.X || ^4.X.X"
"mocha": "^3.X.X || ^4.X.X || ^5.X.X"
},
"files": [
"bin/",
"src/",
"package.json",
"README.md",
"LICENSE",
"yarn.lock"
],
"keywords": [
"ts",
"mocha",
"typescript",
"ts-node",
"test"
]
"files": ["bin/", "src/", "package.json", "README.md", "LICENSE", "yarn.lock"],
"keywords": ["ts", "mocha", "typescript", "ts-node", "test"]
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ try {
} catch (error) {
console.log('[ERROR] ' + error.message);
process.exit(1);
}
}
14 changes: 3 additions & 11 deletions test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
"importHelpers": true, // importing helper functions from tslib
"noEmitHelpers": true, // disable emitting inline helper functions
"jsx": "react", // process JSX
"lib": [
"es2016",
"es2017.object"
],
"lib": ["es2016", "es2017.object"],
"target": "es5", // "es2015" for ES6+ engines
"module": "commonjs", // "es2015" for tree-shaking
"moduleResolution": "node",
Expand All @@ -29,11 +26,6 @@
"removeComments": true,
"sourceMap": true
},
"include": [
"**/*"
],
"exclude": [
"node_modules",
"**/*.spec.*"
]
"include": ["**/*"],
"exclude": ["node_modules", "**/*.spec.*"]
}
Loading

0 comments on commit bd55835

Please sign in to comment.