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
|
node_modules
|
||||||
|
|
||||||
# generated code
|
# generated code
|
||||||
/out
|
/dist
|
||||||
|
@ -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"
|
||||||
|
@ -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;
|
|
||||||
});
|
|
||||||
|
@ -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"]
|
||||||
|
@ -6,6 +6,6 @@
|
|||||||
"no-console": true
|
"no-console": true
|
||||||
},
|
},
|
||||||
"linterOptions": {
|
"linterOptions": {
|
||||||
"exclude": ["node_modules", "out/*"]
|
"exclude": ["node_modules", "dist/*"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user