Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update dependencies and devDependencies
Highlights: * update array-to-sentence from v1 to v2 * introduce rollup-config-module to adapt to .mjs-based ecosystem * update ESLint from v3 to v4 * introduce @shinnn/eslint-config and follow its coding rules, for example tab indent * switch from istanbul to nyc
- Loading branch information
Showing
9 changed files
with
4,792 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
bower_components | ||
.nyc_output | ||
coverage | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
git: | ||
depth: 1 | ||
branches: | ||
except: /^v\d/ | ||
language: node_js | ||
node_js: node | ||
script: npm run-script pretest && npm run-script coverage | ||
after_script: | ||
- npm install istanbul-coveralls | ||
- node node_modules/.bin/istanbul-coveralls | ||
after_script: node_modules/.bin/nyc report --reporter=text-lcov | npx coveralls |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
'use strict'; | ||
|
||
var arrayToSentence = require('array-to-sentence'); | ||
|
||
/*! | ||
* array-to-sentence-ja | ISC (c) Shinnosuke Watanabe | ||
* https://github.com/shinnn/array-to-sentence-ja | ||
*/ | ||
'use strict'; | ||
|
||
var arrayToSentence = require('array-to-sentence'); | ||
var objectAssign = require('object-assign'); | ||
|
||
module.exports = function arrayToSentenceJa(arr, options) { | ||
return arrayToSentence(arr, objectAssign({ | ||
separator: '、', | ||
lastSeparator: 'および' | ||
}, options)); | ||
}; | ||
function arrayToSentenceJa(arr, options) { | ||
return arrayToSentence(arr, Object.assign({ | ||
separator: '、', | ||
lastSeparator: 'および' | ||
}, options)); | ||
} | ||
|
||
module.exports = arrayToSentenceJa; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.