mirror of
https://github.com/microsoft/TypeScript-Node-Starter.git
synced 2025-11-10 00:37:34 +00:00
added more vs files to gitignore
This commit is contained in:
8
.gitignore
vendored
8
.gitignore
vendored
@@ -42,4 +42,10 @@ env.cmd
|
||||
coverage/**/*
|
||||
|
||||
# logs
|
||||
debug.log
|
||||
debug.log
|
||||
|
||||
|
||||
# VS specific files
|
||||
.vs
|
||||
bin
|
||||
obj
|
||||
Binary file not shown.
@@ -19,8 +19,12 @@
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<StartWebBrowser>True</StartWebBrowser>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'" />
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'" />
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||
<NODE_ENV>development</NODE_ENV>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||
<NODE_ENV>production</NODE_ENV>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="package-lock.json" />
|
||||
<Content Include="package.json" />
|
||||
@@ -137,8 +141,9 @@
|
||||
</FlavorProperties>
|
||||
</VisualStudio>
|
||||
</ProjectExtensions>
|
||||
|
||||
<Target Name="RunNpmScript">
|
||||
|
||||
<Target Name="BeforeBuild">
|
||||
<Exec Command="(SET NODE_ENV=$(NODE_ENV)) & npm run build" WorkingDirectory="$(MSBuildProjectDirectory)" ConsoleToMSBuild="true">
|
||||
<Output TaskParameter="ConsoleOutput" PropertyName="OutputOfExec" />
|
||||
</Exec>
|
||||
</Target>
|
||||
</Project>
|
||||
Binary file not shown.
@@ -1 +0,0 @@
|
||||
324ad010264b04b35e4f52396e697d21ae25d284
|
||||
Binary file not shown.
@@ -10,7 +10,7 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "npm run serve",
|
||||
"build": "npm run build-sass && npm run build-ts && npm run tslint && npm run copy-static-assets",
|
||||
"build": "npm run build-sass && npm run tslint && npm run copy-static-assets",
|
||||
"serve": "node dist/server.js",
|
||||
"watch-node": "nodemon dist/server.js",
|
||||
"watch": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"npm run watch-node\"",
|
||||
|
||||
@@ -6,6 +6,6 @@ import { Request, Response } from "express";
|
||||
*/
|
||||
export let index = (req: Request, res: Response) => {
|
||||
res.render("home", {
|
||||
title: "Home"
|
||||
title: "Hello world"
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user