Add version scripts
This commit is contained in:
parent
c6a4577872
commit
4bf782cddf
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "eu.astrogd.white-leopard",
|
||||
"version": "1.1.1",
|
||||
"version": "1.2.0-dev.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "eu.astrogd.white-leopard",
|
||||
"version": "1.1.1",
|
||||
"version": "1.2.0-dev.0",
|
||||
"license": "CC-BY-NC-ND-4.0",
|
||||
"dependencies": {
|
||||
"@astrogd/eu.astrogd.uptime-kuma-push-monitor": "^1.0.0-dev.3",
|
||||
|
@ -1,12 +1,17 @@
|
||||
{
|
||||
"name": "eu.astrogd.white-leopard",
|
||||
"version": "1.1.1",
|
||||
"version": "1.2.0-dev.0",
|
||||
"description": "A Discord bot that checks channel names for blacklisted words and reverts the changes if necessary",
|
||||
"main": "build/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "tsc && shx cp package-lock.json build/package-lock.json",
|
||||
"start:rebuild": "npm run build && node --enable-source-maps .",
|
||||
"version:dev": "npm version prerelease --preid dev --no-commit-hooks --no-git-tag-version",
|
||||
"version:patch": "npm version prepatch --preid dev --no-commit-hooks --no-git-tag-version",
|
||||
"version:minor": "npm version preminor --preid dev --no-commit-hooks --no-git-tag-version",
|
||||
"version:major": "npm version premajor --preid dev --no-commit-hooks --no-git-tag-version",
|
||||
"version:release": "npm version patch --no-commit-hooks --no-git-tag-version",
|
||||
"deploy-commands:dev": "ts-node ci/devDeploy.ts",
|
||||
"deploy-commands:prod": "ts-node ci/deploy.ts",
|
||||
"deploy:dev": "npm run build && npm run deploy-commands:dev && docker compose build && docker compose up -d",
|
||||
|
Loading…
x
Reference in New Issue
Block a user