Created
November 24, 2017 04:00
-
-
Save raffecat/5c1ef5156ea583e3b3fac05549172877 to your computer and use it in GitHub Desktop.
tsconfig.json for node.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"files": [ | |
"src/main.ts" | |
], | |
"compilerOptions": { | |
"inlineSourceMap": true, | |
"alwaysStrict": true, | |
"noImplicitAny": true, | |
"strictNullChecks": true, | |
"strictFunctionTypes": true, | |
"noImplicitThis": true, | |
"noUnusedLocals": true, | |
"target": "es6", | |
"module": "commonjs", | |
"outDir": "lib", | |
"pretty": false | |
} | |
} |
npm install --save-dev mocha chai @types/chai ts-node typescript
"scripts": {
"test": "mocha test/ --compilers ts:ts-node/register --recursive"
},
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment