diff --git a/.bumpedrc b/.bumpedrc index 1d49405..42329e0 100644 --- a/.bumpedrc +++ b/.bumpedrc @@ -21,15 +21,15 @@ plugins: 'Commiting new version': plugin: 'bumped-terminal' - command: 'npm run commit' + command: 'git add CHANGELOG.md bower.json package.json dist && git commit -m "$newVersion releases"' 'Detecting problem before publish': plugin: 'bumped-terminal' - command: 'npm run dirty && npm run clean && npm install && npm test' + command: 'git-dirty && npm run clean && npm install && npm test' 'Publishing tag at Github': plugin: 'bumped-terminal' - command: 'npm run push' + command: 'git tag $newVersion && git push origin $newVersion --follow-tags' 'Publishing at NPM': plugin: 'bumped-terminal' diff --git a/package.json b/package.json index c9ff05a..8e63aaf 100644 --- a/package.json +++ b/package.json @@ -47,11 +47,8 @@ }, "scripts": { "clean": "rm -rf node_modules", - "dirty": "./node_modules/.bin/git-dirty", - "commit": "git add CHANGELOG.md bower.json package.json dist && git commit -m \"$newVersion releases\"", - "lint": "./node_modules/.bin/standard lib", + "lint": "standard lib", "pretest": "npm run lint", - "push": "git tag $newVersion && git push origin $newVersion --follow-tags", "test": "sh test/test.sh" }, "license": "MIT"