This commit is contained in:
2025-08-28 17:07:05 +03:00
parent ef12ba29d1
commit 6074f2fd9e
2 changed files with 11 additions and 3 deletions

View File

@@ -9,6 +9,11 @@
"include": "../assets/**", "include": "../assets/**",
"watchAssets": true, "watchAssets": true,
"outDir": "dist/assets" "outDir": "dist/assets"
},
{
"include": "../prisma/**",
"outDir": "dist/prisma",
"watchAssets": false
} }
] ]
} }

View File

@@ -6,13 +6,16 @@
"private": true, "private": true,
"license": "UNLICENSED", "license": "UNLICENSED",
"scripts": { "scripts": {
"build": "nest build", "build": "nest build && npm run copy-package",
"build:w": "nest build && npm run copy-package:w",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start", "start": "nest start",
"start:dev": "nest start --watch", "start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch", "start:debug": "nest start --debug --watch",
"start:prod": "node dist/main", "start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix" "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"copy-package": "cp package.json dist/package.json && cp package-lock.json dist/package-lock.json",
"copy-package:w": "copy package.json dist\\package.json && copy package-lock.json dist\\package-lock.json"
}, },
"dependencies": { "dependencies": {
"@nestjs/common": "^11.0.1", "@nestjs/common": "^11.0.1",
@@ -54,4 +57,4 @@
"typescript": "^5.7.3", "typescript": "^5.7.3",
"typescript-eslint": "^8.20.0" "typescript-eslint": "^8.20.0"
} }
} }