Skip to content

Commit

Permalink
Merge 0a2f8ec into 60bb7c6
Browse files Browse the repository at this point in the history
  • Loading branch information
VovanR committed Feb 7, 2019
2 parents 60bb7c6 + 0a2f8ec commit 6cdd101
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 17 deletions.
4 changes: 3 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# http://editorconfig.org

root = true

[*]
Expand All @@ -7,7 +9,7 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{*.json,*.yml}]
[*.{json,yml,md}]
indent_style = space
indent_size = 2

Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto
6 changes: 6 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"hooks": {
"pre-push": "npm test",
"pre-commit": "npm test"
}
}
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: node_js
node_js:
- v11
- v10
- v9
- v8
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,20 @@ Function that compare each `arr` item to equal `value`
## License
MIT © [Vladimir Rodkin](https://github.com/VovanR)

[demo]: http://vovanr.github.io/toggle-in-array

[commitizen-url]: http://commitizen.github.io/cz-cli/
[commitizen-url]: https://commitizen.github.io/cz-cli/
[commitizen-image]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square

[codestyle-url]: https://github.com/sindresorhus/xo
[codestyle-url]: https://github.com/xojs/xo
[codestyle-image]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square

[npm-url]: https://npmjs.org/package/toggle-in-array
[npm-image]: http://img.shields.io/npm/v/toggle-in-array.svg?style=flat-square
[npm-image]: https://img.shields.io/npm/v/toggle-in-array.svg?style=flat-square

[travis-url]: https://travis-ci.org/VovanR/toggle-in-array
[travis-image]: http://img.shields.io/travis/VovanR/toggle-in-array.svg?style=flat-square
[travis-image]: https://img.shields.io/travis/VovanR/toggle-in-array.svg?style=flat-square

[coveralls-url]: https://coveralls.io/r/VovanR/toggle-in-array
[coveralls-image]: http://img.shields.io/coveralls/VovanR/toggle-in-array.svg?style=flat-square
[coveralls-image]: https://img.shields.io/coveralls/VovanR/toggle-in-array.svg?style=flat-square

[depstat-url]: https://david-dm.org/VovanR/toggle-in-array
[depstat-image]: https://david-dm.org/VovanR/toggle-in-array.svg?style=flat-square
Expand Down
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
"description": "Add or remove item from array",
"license": "MIT",
"repository": "VovanR/toggle-in-array",
"author": "Vladimir Rodkin <mail@vovanr.com> (http://vovanr.com/)",
"author": "Vladimir Rodkin <mail@vovanr.com> (https://github.com/VovanR)",
"engines": {
"node": ">=6"
},
"scripts": {
"prepush": "npm test",
"test": "xo --no-esnext && nyc ava",
"tdd": "ava -w",
"release-patch": "mversion patch",
Expand All @@ -27,14 +26,14 @@
],
"dependencies": {},
"devDependencies": {
"ava": "^0.25.0",
"conventional-changelog-cli": "^2.0.0",
"coveralls": "^3.0.1",
"ava": "^1.2.1",
"conventional-changelog-cli": "^2.0.11",
"coveralls": "^3.0.2",
"cz-conventional-changelog": "^2.1.0",
"husky": "^0.14.3",
"mversion": "^1.10.1",
"nyc": "^12.0.2",
"xo": "^0.21.1"
"husky": "^1.3.1",
"mversion": "^1.12.0",
"nyc": "^13.2.0",
"xo": "^0.24.0"
},
"bugs": {
"url": "https://github.com/VovanR/toggle-in-array/issues"
Expand Down

0 comments on commit 6cdd101

Please sign in to comment.