Skip to content

Commit

Permalink
build: enable semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
tsvetomir committed Feb 15, 2017
1 parent 806b101 commit b9d6c8a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ before_script:
script:
- npm run lint
- npm run test
after_success:
- npm run semantic-release

1 change: 0 additions & 1 deletion bin/xlf-translate
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const translate = require('../translate');
const args = (() => {
const argparse = require('argparse');
const parser = new argparse.ArgumentParser({
version: '1.0.0',
addHelp: true,
description: 'Looks-up translations based on unique keys'
});
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "translate.js",
"scripts": {
"lint": "eslint *.js bin/*",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "jasmine"
},
"bin": {
Expand All @@ -23,6 +24,7 @@
},
"devDependencies": {
"eslint": "^3.14.1",
"jasmine": "2.5.3"
"jasmine": "2.5.3",
"semantic-release": "^6.3.2"
}
}

0 comments on commit b9d6c8a

Please sign in to comment.