Skip to content

Commit

Permalink
Adapt tsconfig for test
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hahn committed Dec 20, 2017
1 parent 3bebe30 commit 8b0037d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"files": ["dist"],
"types": "dist/index.d.ts",
"scripts": {
"build": "webpack --config webpack/webpack.config.js",
"build": "tsc",
"build:preload": "tsc -p tsconfig.preload.json",
"test":
"yarn build && yarn build:preload && mocha --reporter spec --require ts-node/register test/*test.ts && rm src/preload.js ",
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.preload.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"include": ["./src/preload.ts"],
"exclude": ["node_modules"],
"compilerOptions": {
"outDir": "."
"declaration": false,
"sourceMap": false,
"outDir": "./src"
}
}

0 comments on commit 8b0037d

Please sign in to comment.