Skip to content

Commit c7de558

Browse files
committed
chore(package): Update dependencies, add codeclimate and generate-changelog
1 parent ea97edd commit c7de558

File tree

3 files changed

+20
-9
lines changed

3 files changed

+20
-9
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ notifications:
77
email: false
88
after_success:
99
- npm run coveralls
10+
- npm run codeclimate

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
[![npm downloads](https://img.shields.io/npm/dm/anime-dl.svg?style=flat-square)](https://www.npmjs.com/package/anime-dl)
55
[![Build Status](https://img.shields.io/travis/lgaticaq/anime-dl.svg?style=flat-square)](https://travis-ci.org/lgaticaq/anime-dl)
66
[![Coverage Status](https://img.shields.io/coveralls/lgaticaq/anime-dl/master.svg?style=flat-square)](https://coveralls.io/github/lgaticaq/anime-dl?branch=master)
7+
[![Code Climate](https://img.shields.io/codeclimate/github/lgaticaq/anime-dl.svg?style=flat-square)](https://codeclimate.com/github/lgaticaq/anime-dl)
78
[![dependency Status](https://img.shields.io/david/lgaticaq/anime-dl.svg?style=flat-square)](https://david-dm.org/lgaticaq/anime-dl#info=dependencies)
89
[![devDependency Status](https://img.shields.io/david/dev/lgaticaq/anime-dl.svg?style=flat-square)](https://david-dm.org/lgaticaq/anime-dl#info=devDependencies)
9-
[![Join the chat at https://gitter.im/lgaticaq/anime-dl](https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg?style=flat-square)](https://gitter.im/lgaticaq/anime-dl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
1010

11-
Search and get anime video url
11+
> Search and get anime video url
1212
1313
## Installation
1414

@@ -36,3 +36,7 @@ anime.getLinksByNameAndChapter(name, chapter).then(console.log);
3636
]
3737
}*/
3838
```
39+
40+
## License
41+
42+
[MIT](https://tldrlegal.com/license/mit-license)

package.json

+13-7
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
"description": "Search and get anime video url",
55
"main": "src",
66
"scripts": {
7-
"pretest": "eslint src",
7+
"pretest": "eslint .",
88
"test": "istanbul cover _mocha",
9-
"coveralls": "coveralls < coverage/lcov.info"
9+
"coveralls": "coveralls < coverage/lcov.info",
10+
"codeclimate": "codeclimate-test-reporter < coverage/lcov.info",
11+
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags && npm publish",
12+
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags && npm publish",
13+
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags && npm publish"
1014
},
1115
"engines": {
1216
"node": ">=4"
@@ -26,15 +30,17 @@
2630
"homepage": "https://github.com/lgaticaq/anime-dl#readme",
2731
"dependencies": {
2832
"cheerio": "^0.22.0",
29-
"cloudscraper": "^1.2.2",
33+
"cloudscraper": "^1.4.0",
3034
"fuse.js": "^2.5.0"
3135
},
3236
"devDependencies": {
3337
"chai": "^3.5.0",
34-
"coveralls": "^2.11.9",
35-
"eslint": "^3.0.1",
36-
"istanbul": "^0.4.3",
37-
"mocha": "^3.0.0",
38+
"codeclimate-test-reporter": "^0.3.3",
39+
"coveralls": "^2.11.14",
40+
"eslint": "3.6.0",
41+
"generate-changelog": "^1.0.2",
42+
"istanbul": "^0.4.5",
43+
"mocha": "^3.0.2",
3844
"nock": "^8.0.0"
3945
},
4046
"eslintConfig": {

0 commit comments

Comments
 (0)