Skip to content

Commit

Permalink
Merge pull request #458 from AhnpGit/chore/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
kulshekhar committed Mar 4, 2018
2 parents 4a07d52 + f114cbd commit 4a338b0
Show file tree
Hide file tree
Showing 3 changed files with 237 additions and 429 deletions.
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -61,13 +61,13 @@
]
},
"dependencies": {
"babel-core": "^6.24.1",
"babel-core": "^6.26.0",
"babel-plugin-istanbul": "^4.1.4",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-preset-jest": "^22.4.0",
"cpx": "^1.5.0",
"fs-extra": "4.0.3",
"jest-config": "^22.4.0",
"jest-config": "^22.4.2",
"pkg-dir": "^2.0.0",
"yargs": "^11.0.0"
},
Expand All @@ -76,7 +76,7 @@
"typescript": "2.x"
},
"devDependencies": {
"@types/babel-core": "^6.7.14",
"@types/babel-core": "latest",
"@types/es6-shim": "latest",
"@types/fs-extra": "5.0.1",
"@types/jest": "latest",
Expand All @@ -94,7 +94,7 @@
"react-test-renderer": "latest",
"rimraf": "latest",
"ts-jest": "latest",
"tslint": "next",
"tslint": "^5.9.1",
"typescript": "^2.4.1"
},
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion src/transpile-if-ts.ts
Expand Up @@ -8,7 +8,7 @@ export function transpileIfTypescript(
rootDir: string = '',
) {
if (path && (path.endsWith('.tsx') || path.endsWith('.ts'))) {
let transpiled = tsc.transpileModule(contents, {
const transpiled = tsc.transpileModule(contents, {
compilerOptions: getTSConfig(
config || mockGlobalTSConfigSchema(global),
rootDir,
Expand Down

0 comments on commit 4a338b0

Please sign in to comment.