diff --git a/.npmrc b/.npmrc deleted file mode 100644 index d5e52b8..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -registry=http://alpine-docker:4873 \ No newline at end of file diff --git a/package.json b/package.json index ab25be7..7180a32 100644 --- a/package.json +++ b/package.json @@ -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",