Skip to content

Commit

Permalink
Upgrade packages & refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
johackim committed Mar 23, 2017
1 parent 8710990 commit db5325c
Show file tree
Hide file tree
Showing 7 changed files with 448 additions and 220 deletions.
11 changes: 4 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@
"func-names": [0]
},
"globals": {
"before",
"after",
"describe",
"it",
"server",
"assert",
"beforeEach",
"afterEach"
"assert"
},
"env": {
"mocha": true
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Download DDL links, magnets and torrent files.

## Installation

`npm i -g rdcli`
`npm install --global rdcli`

And set your real-debrid account as enviroment variable on your `~/.bashrc`

Expand Down
3 changes: 3 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ TODO
- [ ] Add async await
- [ ] Add notification when error or download finish
- [ ] https://github.com/mattallty/Caporal.js
- [ ] https://github.com/jaredhanson/passport
- [ ] Yaourt repository rdcli-git
- [ ] https://github.com/ivanseidel/node-draftlog draftlog
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ deploy: ## Deploy
npm publish

lint:
@ ./node_modules/.bin/eslint src/
@ ./node_modules/.bin/eslint src/ test/

lint-fix:
@ ./node_modules/.bin/eslint --fix src/
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,29 @@
"co-sleep": "0.0.1",
"commander": "^2.9.0",
"config": "git+https://github.com/jcherqui/node-config",
"debug": "^2.6.1",
"debug": "^2.6.3",
"fs": "^0.0.2",
"humanize": "^0.0.9",
"ora": "^1.1.0",
"request": "^2.80.0",
"request": "^2.81.0",
"request-progress": "^3.0.0",
"request-promise": "^4.1.1",
"request-promise": "^4.2.0",
"url": "^0.11.0"
},
"devDependencies": {
"babel-cli": "^6.23.0",
"babel-core": "^6.23.1",
"babel-preset-es2015": "^6.22.0",
"body-parser": "^1.17.0",
"babel-cli": "^6.24.0",
"babel-core": "^6.24.0",
"babel-preset-es2015": "^6.24.0",
"body-parser": "^1.17.1",
"co-mocha": "^1.2.0",
"eslint": "^3.17.0",
"eslint": "^3.18.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-react": "^6.10.0",
"json-server": "^0.9.5",
"eslint-plugin-react": "^6.10.3",
"json-server": "^0.9.6",
"mocha": "^3.2.0",
"np": "^2.12.0"
"np": "^2.13.0"
},
"keywords": [
"real-debrid",
Expand Down
1 change: 0 additions & 1 deletion test/setup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import coMocha from 'co-mocha'; // eslint-disable-line
import { assert } from 'chai';
import server from './testServer';

Expand Down
Loading

0 comments on commit db5325c

Please sign in to comment.