Added the PROJECT_VERSION variable in the package.json
This commit is contained in:
parent
e55fca06e7
commit
445edc9853
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user