push scripts

master
Tudor Stanciu 2022-05-08 06:00:45 +03:00
parent a41075a3a1
commit 2ca0d1508a
2 changed files with 9 additions and 2 deletions

1
.npmrc
View File

@ -1 +0,0 @@
registry=http://alpine-docker:4873

View File

@ -24,7 +24,15 @@
"build:copy-files": "node ./scripts/copy-files.js",
"precommit": "lint-staged",
"prepare": "husky install",
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"prepush": "npm run build",
"push": "cd build && npm publish --registry http://alpine-docker:4873",
"push:major": "npm run version:major && npm run push",
"push:minor": "npm run version:minor && npm run push",
"push:patch": "npm run version:patch && npm run push",
"version:major": "npm version major --no-git-tag-version",
"version:minor": "npm version minor --no-git-tag-version",
"version:patch": "npm version patch --no-git-tag-version"
},
"devDependencies": {
"@babel/cli": "^7.16.7",