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 node_modules
# generated code # generated code
/out /dist

View File

@ -3,7 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"description": ".", "description": ".",
"scripts": { "scripts": {
"start": "node out/index.js", "start": "node dist/index.js",
"watch": "tsc --watch", "watch": "tsc --watch",
"build": "tsc --build", "build": "tsc --build",
"tslint-check": "tslint-config-prettier-check ./tslint.json" "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'); res.end('Hello World\n');
}); });
server.listen(port, hostname, () => { server.listen(port, hostname, () => {});
console.log(`Server running at http://${hostname}:${port}/`);
const x = 1;
const y = x + 1;
});

View File

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

View File

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