Skip to content

Commit

Permalink
chore: upgrade dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tsvetomir committed Nov 1, 2018
1 parent 0b142b0 commit 6eae19e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ cache:
directories:
- node_modules
node_js:
- '6'
- '10'
before_script:
- "npm prune"
- "npm update"
- npm prune
- npm update
script:
- npm run lint
- npm run test
after_success:
- npm run semantic-release
- npx semantic-release

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"main": "translate.js",
"scripts": {
"lint": "eslint *.js bin/*",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "jasmine"
},
"bin": {
Expand All @@ -23,8 +22,8 @@
"url": "https://github.com/tsvetomir/xlf-translate.git"
},
"devDependencies": {
"eslint": "^3.14.1",
"jasmine": "2.5.3",
"semantic-release": "^6.3.2"
"eslint": "^5.8.0",
"jasmine": "3.3.0",
"semantic-release": "^15.10.6"
}
}
3 changes: 1 addition & 2 deletions spec/support/jasmine.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@
"helpers": [
"helpers/**/*.js"
],
"stopSpecOnExpectationFailure": false,
"random": false
"oneFailurePerSpec": false
}
2 changes: 1 addition & 1 deletion translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const translate = (doc, lang, force) => {
};


const isKey = val => !!val.match(/^[a-zA-Z0-9.\-\_]*$/);
const isKey = val => !!val.match(/^[a-zA-Z0-9.\-_]*$/);

module.exports = translate;

0 comments on commit 6eae19e

Please sign in to comment.