change output directory from out to dist
This commit is contained in:
parent
be90b513b2
commit
39be993c63
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,4 +5,4 @@
|
||||
node_modules
|
||||
|
||||
# generated code
|
||||
/out
|
||||
/dist
|
||||
|
@ -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"
|
||||
|
@ -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, () => {});
|
||||
|
@ -6,7 +6,7 @@
|
||||
"removeComments": true,
|
||||
"preserveConstEnums": true,
|
||||
"sourceMap": true,
|
||||
"outDir": "out/"
|
||||
"outDir": "dist"
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["node_modules", "**/*.spec.ts"]
|
||||
|
@ -6,6 +6,6 @@
|
||||
"no-console": true
|
||||
},
|
||||
"linterOptions": {
|
||||
"exclude": ["node_modules", "out/*"]
|
||||
"exclude": ["node_modules", "dist/*"]
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user