Added the PROJECT_VERSION variable in the package.json

This commit is contained in:
Mathias Wagner 2023-09-09 13:38:34 +02:00
parent e55fca06e7
commit 445edc9853
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -6,11 +6,12 @@
"repository": "https://github.com/LicenseAPI/Backend.git",
"private": true,
"scripts": {
"dev": "nodemon --watch \"src/**\" -r tsconfig-paths/register src/server.ts",
"dev": "PROJECT_VERSION=DEV nodemon --watch \"src/**\" -r tsconfig-paths/register src/server.ts",
"ci:eslint": "eslint \"**/*.{ts,tsx}\" --max-warnings=0",
"ci:tsc": "tsc --noemit",
"ci:install": "yarn install --immutable --immutable-cache --check-cache",
"build": "tsc && tsc-alias"
"build": "tsc && tsc-alias",
"start": "PROJECT_VERSION=$(node -p \"require('./package.json').version\") node dist/server.js"
},
"dependencies": {
"bcrypt": "^5.1.1",