Skip to content

Commit

Permalink
output js files to dist/
Browse files Browse the repository at this point in the history
  • Loading branch information
Sid Nutulapati committed Feb 4, 2019
1 parent d06dc96 commit bba41d5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ npm-debug.log
.DS_Store
*.iml
**/.serverless
*.js
dist/
.nyc_output/
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"serverless.com",
"domain manager"
],
"main": "index.js",
"main": "dist/index.js",
"bin": {},
"scripts": {
"test": "tsc --project . && nyc mocha -r ts-node/register test/unit-tests/index.test.ts && nyc report --reporter=text-summary",
Expand All @@ -35,8 +35,14 @@
"files": [
"*.js",
"*.ts",
"*.json"
"*.json",
"dist/"
],
"nyc" : {
"extension": [
".ts"
]
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.5",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"moduleResolution": "node",
"rootDir": ".",
"target": "es6",
"sourceMap": false
"sourceMap": false,
"outDir": "dist"
},
"include": [
"*.ts"
Expand Down

0 comments on commit bba41d5

Please sign in to comment.