Scripts update, unecessary directories remove
This commit is contained in:
parent
098e27639c
commit
f998f7292d
|
|
@ -4,6 +4,7 @@
|
|||
# IDE
|
||||
/.idea
|
||||
/.awcache
|
||||
/.vscode
|
||||
|
||||
# misc
|
||||
npm-debug.log
|
||||
|
|
@ -15,3 +16,6 @@ npm-debug.log
|
|||
/test
|
||||
/coverage
|
||||
/.nyc_output
|
||||
|
||||
# dist
|
||||
/dist
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible Node.js debug attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
|
||||
{
|
||||
"type": "node2",
|
||||
"request": "launch",
|
||||
"name": "Launch Program",
|
||||
"program": "${workspaceRoot}\\src\\server.ts",
|
||||
"outFiles": ["${workspaceRoot}\\dist\\*.js"],
|
||||
"runtimeArgs": [
|
||||
"--nolazy"
|
||||
],
|
||||
"runtimeExecutable": null,
|
||||
"sourceMaps": true,
|
||||
"stopOnEntry": false
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "attach",
|
||||
"name": "Attach to Port",
|
||||
"address": "localhost",
|
||||
"port": 5858,
|
||||
"outFiles": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const nest_js_1 = require("nest.js");
|
||||
let ApplicationModule = class ApplicationModule {
|
||||
};
|
||||
ApplicationModule = __decorate([
|
||||
nest_js_1.Module({
|
||||
modules: []
|
||||
})
|
||||
], ApplicationModule);
|
||||
exports.ApplicationModule = ApplicationModule;
|
||||
//# sourceMappingURL=app.module.js.map
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"app.module.js","sourceRoot":"","sources":["../../src/modules/app.module.ts"],"names":[],"mappings":";;;;;;;;AAAA,qCAAiC;AAKjC,IAAa,iBAAiB,GAA9B;CAAiC,CAAA;AAApB,iBAAiB;IAH7B,gBAAM,CAAC;QACJ,OAAO,EAAE,EAAE;KACd,CAAC;GACW,iBAAiB,CAAG;AAApB,8CAAiB"}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const nest_js_1 = require("nest.js");
|
||||
const app_module_1 = require("./modules/app.module");
|
||||
const app = nest_js_1.NestFactory.create(app_module_1.ApplicationModule);
|
||||
app.listen(3000, () => console.log('Application is listening on port 3000.'));
|
||||
//# sourceMappingURL=server.js.map
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";;AAAA,qCAAsC;AACtC,qDAAyD;AAEzD,MAAM,GAAG,GAAG,qBAAW,CAAC,MAAM,CAAC,8BAAiB,CAAC,CAAC;AAClD,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC,CAAC,CAAC"}
|
||||
|
|
@ -4,7 +4,9 @@
|
|||
"description": "Nest TypeScript starter repository",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "node index.js"
|
||||
"start": "node index.js",
|
||||
"prestart:prod": "tsc",
|
||||
"start:prod": "node dist/server.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nestjs/common": "*",
|
||||
|
|
|
|||
Loading…
Reference in New Issue