change output directory from out to dist

This commit is contained in:
Xymorot 2019-06-04 23:28:18 +02:00
parent be90b513b2
commit 39be993c63
5 changed files with 5 additions and 9 deletions

2
.gitignore vendored
View File

@ -5,4 +5,4 @@
node_modules
# generated code
/out
/dist

View File

@ -3,7 +3,7 @@
"version": "1.0.0",
"description": ".",
"scripts": {
"start": "node out/index.js",
"start": "node dist/index.js",
"watch": "tsc --watch",
"build": "tsc --build",
"tslint-check": "tslint-config-prettier-check ./tslint.json"

View File

@ -12,8 +12,4 @@ const server = http.createServer((req, res) => {
res.end('Hello World\n');
});
server.listen(port, hostname, () => {
console.log(`Server running at http://${hostname}:${port}/`);
const x = 1;
const y = x + 1;
});
server.listen(port, hostname, () => {});

View File

@ -6,7 +6,7 @@
"removeComments": true,
"preserveConstEnums": true,
"sourceMap": true,
"outDir": "out/"
"outDir": "dist"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "**/*.spec.ts"]

View File

@ -6,6 +6,6 @@
"no-console": true
},
"linterOptions": {
"exclude": ["node_modules", "out/*"]
"exclude": ["node_modules", "dist/*"]
}
}