diff --git a/package.json b/package.json index af68e62..ed76432 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,12 @@ "scripts": { "prepare": "husky", "lint": "eslint \"{libs,test}/**/*.ts\" --fix", + "docker": "docker-compose up --build -d", "start": "nodemon -w libs -e ts --exec ts-node libs/main.ts", "build": "rm -rf dist && tsc", - "docker": "docker-compose up --build -d" + "vesrion:patch": "npm version patch && git push origin master", + "vesrion:minor": "npm version minor && git push origin master", + "vesrion:major": "npm version major && git push origin master" }, "dependencies": { "@nestjs/common": "^10.3.3", diff --git a/scripts/major.sh b/scripts/major.sh deleted file mode 100644 index 01a6d9f..0000000 --- a/scripts/major.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -npm run build -npm version major -npm publish -git push - -exit 0 \ No newline at end of file diff --git a/scripts/minor.sh b/scripts/minor.sh deleted file mode 100644 index a680dd3..0000000 --- a/scripts/minor.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -npm run build -npm version minor -npm publish -git push - -exit 0 \ No newline at end of file diff --git a/scripts/patch.sh b/scripts/patch.sh deleted file mode 100644 index 1affdbb..0000000 --- a/scripts/patch.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -npm run build -npm version patch -npm publish -git push - -exit 0 \ No newline at end of file