Skip to content

Commit

Permalink
Update ts treatment
Browse files Browse the repository at this point in the history
  • Loading branch information
zucher committed Oct 28, 2018
1 parent 353f3a9 commit 434eab1
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ bot.js
coverage/
bin/
/.project
src/lib/common/models/fileDescriptor.js*
sitemap.xml
jsdoc/cheatsheet/node/nodesheets.nodesheets.html
lib/common/models/fileDescriptor.js.map
lib/common/models/fileDescriptor.js
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ module.exports = function (grunt) {
},
ts: {
build: {
src: ["./src/**/*.ts"]
src: ["**/*.ts", "!node_modules/**"],
tsconfig: true
}
}
});
Expand Down
25 changes: 25 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"compilerOptions": {
"noImplicitAny": false,
"module": "commonjs",
"target": "es6",
//"sourceMap": false,
"allowJs": false,
"allowUnusedLabels": true,
"charset": "utf-8",
"experimentalDecorators": false,
//"moduleResolution": "node",
//"noFallthroughCasesInSwitch": false,
//"noImplicitReturns": true,
"pretty": true,
//"removeComments": true,
"rootDir": "./src",
"project": "./src",
//"stripInternal": true,
"outDir": "./"
},
"exclude" : [
"./build",
"node_modules"
]
}

0 comments on commit 434eab1

Please sign in to comment.