Skip to content

Commit

Permalink
Merge pull request #3 from wenwei1202/refactoring
Browse files Browse the repository at this point in the history
update for plugins
  • Loading branch information
vcwen committed May 9, 2016
2 parents 1586e4b + 8cfd69b commit ee1e36f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ parserOptions:
sourceType: module
rules:
indent:
- error
- 2
- 2
- SwitchCase: 1
linebreak-style:
- error
- 2
- unix
quotes:
- error
- 2
- single
semi:
- error
- 2
- never
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[![npm version](https://badge.fury.io/js/passport-wechat-enterprise.svg)](https://badge.fury.io/js/passport-wechat-enterprise)
[![Dependency Status](https://david-dm.org/wenwei1202/passport-wechat-enterprise.svg)](https://david-dm.org/wenwei1202/passport-wechat-enterprise)
[![Build Status](https://travis-ci.org/wenwei1202/passport-wechat-enterprise.svg?branch=master)](https://travis-ci.org/wenwei1202/passport-wechat-enterprise)
[![Coverage Status](https://coveralls.io/repos/github/wenwei1202/passport-wechat-enterprise/badge.svg?branch=master)](https://coveralls.io/github/wenwei1202/passport-wechat-enterprise?branch=master)
[![Build Status](https://travis-ci.org/wenwei1202/passport-wechat-enterprise.svg?branch=master)](https://travis-ci.org/wenwei1202/passport-wechat-enterprise)
# passport-wechat-enterprise
[Passport](http://passportjs.org/) strategy for authenticating with [Wechat Enterprise Accounts](https://qy.weixin.qq.com/)
using the OAuth 2.0 API.
Expand Down Expand Up @@ -106,7 +111,7 @@ for (var s in config) {
"UserId":"USERID",
"DeviceId":"DEVICEID"
}
```
```

未关注:

Expand Down
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Passport Strategy for Wechat Enterprise Account/微信企业号",
"main": "index.js",
"scripts": {
"test": "istanbul cover _mocha --report lcovonly -- -R spec"
"test": "istanbul cover _mocha --report lcovonly -- -R spec",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"repository": {
"type": "git",
Expand All @@ -31,6 +32,8 @@
"chai-passport-strategy": "^0.2.0",
"mocha": "^2.3.3",
"istanbul": "^0.4.3",
"proxyquire": "^1.7.7"
"proxyquire": "^1.7.7",
"coveralls": "^2.11.9",
"mocha-lcov-reporter": "^1.2.0"
}
}
}

0 comments on commit ee1e36f

Please sign in to comment.