Skip to content

Commit

Permalink
#1: Separated src and test compile
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Aug 12, 2017
1 parent dfd17c6 commit f1040a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"url": "https://github.com/Borewit"
},
"scripts": {
"compile": "tsc -p dist",
"compile-src": "tsc -p src",
"compile-test": "tsc -p test",
"compile": "npm run compile-src && npm run compile-test",
"prepare": "npm run compile",
"lint": "tslint 'src/**/*.ts' --exclude 'src/**/*.d.ts' 'test/**/*.ts' --exclude 'test/**/*.d.ts'",
"test": "mocha --require ts-node/register test",
Expand Down
File renamed without changes.
8 changes: 2 additions & 6 deletions tsconfig.json → test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
"inlineSources": true,
"module": "commonjs",
"moduleResolution": "node",
"declaration": true
},
"include": [
"lib/**/*.ts",
"test/**/*.ts"
]
"declaration": false
}
}

0 comments on commit f1040a0

Please sign in to comment.