Skip to content

Commit

Permalink
Output commonjs modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanbruegge committed Oct 7, 2018
1 parent 9cc0706 commit 154f8b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "tsc -d",
"prepublishOnly": "npm run build && npm run test",
"format": "prettier --write '{src,test}/**/*'",
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register test/**/*"
"test": "mocha --require ts-node/register test/**/*"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compileOnSave": false,
"compilerOptions": {
"module": "ES6",
"module": "commonjs",
"moduleResolution": "node",
"target": "ES5",
"sourceMap": true,
Expand Down

0 comments on commit 154f8b1

Please sign in to comment.