Skip to content

Commit

Permalink
removed pre/post publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
eidellav committed May 5, 2024
1 parent 3a1e22e commit 91a1e61
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
"version:major": "npm --no-git-tag-version version major",
"preversion": "npm run test && npm run check-changelog && npm run check-only-changelog-changed",
"postversion": "git commit package.json CHANGELOG.md -m \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish --registry=https://registry.npmjs.org/",
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"postpublish": "[ \"${npm_config_tag:-latest}\" != latest ] || npm run gh-pages",
"check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0"
},
Expand Down

0 comments on commit 91a1e61

Please sign in to comment.