Skip to content

Commit 0a5ad31

Browse files
committed
docs: update start script
1 parent 56f08cd commit 0a5ad31

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm run build
1313
npm run db:refresh
1414

1515
# Запуск
16-
npm run start:prod
16+
npm start
1717

1818
#...или с watch и debug
1919
npm run start:debug

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
{
22
"name": "course-vue-backend",
33
"version": "1.3.1",
4-
"description": "API backend for Meetups - learn.javascript.ru VueJS Course",
4+
"description": "API backend for learn.javascript.ru VueJS Course",
55
"author": "Grigorii K. Shartsev <me@shgk.me>",
66
"private": true,
7-
"license": "UNLICENSED",
7+
"license": "MIT",
88
"scripts": {
99
"prebuild": "rimraf dist",
1010
"build": "nest build",
1111
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
12-
"start": "nest start",
12+
"start": "node dist/main",
1313
"start:dev": "nest start --watch --exec \"node -r source-map-support/register\"",
1414
"start:debug": "nest start --debug --watch --exec \"node -r source-map-support/register\"",
15-
"start:prod": "node dist/main",
1615
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
1716
"test": "jest",
1817
"test:watch": "jest --watch",

0 commit comments

Comments
 (0)