Skip to content

Commit

Permalink
Use a separate tsconfig.json file instead of passing arguments; switc…
Browse files Browse the repository at this point in the history
…h to ES6 as compilation target
  • Loading branch information
rpetrich committed Aug 3, 2019
1 parent 1502f61 commit d4a4751
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"description": "Transform async/await to promise chains",
"main": "async-to-promises.js",
"scripts": {
"prepare": "tsc --strict --lib es5,es6,es2016 --types node --module commonjs --sourceMap async-to-promises.ts && node ./generate-helpers-string.js",
"prepare": "tsc && node ./generate-helpers-string.js",
"test": "jest",
"test:coverage": "jest --coverage"
},
Expand Down
13 changes: 13 additions & 0 deletions tsconfig.json
@@ -0,0 +1,13 @@
{
"compilerOptions": {
"strict": true,
"module": "commonjs",
"sourceMap": true,
"types" : ["node"],
"lib": ["es5", "es6"],
"target": "es6"
},
"files": [
"async-to-promises.ts"
]
}

0 comments on commit d4a4751

Please sign in to comment.