Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xudafeng committed May 13, 2018
1 parent ab7693a commit 16336f8
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,10 +1,10 @@
.DS_Store
node_modules
npm-debug.log
.nyc_output/
*.sw*
*.un~
.idea/*
Thumbs.db
coverage/
.project
build/
3 changes: 0 additions & 3 deletions .jshintignore
@@ -1,6 +1,3 @@
.git/
node_modules/
coverage/
build/
assets/
dist/
6 changes: 1 addition & 5 deletions .npmignore
@@ -1,12 +1,8 @@
coverage.html
lib-cov/
node_modules
.travis.yml
.drone.yml
examples/
Makefile
.jshintrc
.jshintignore
coverage/
.nyc_output/
*.sw*
*.un~
9 changes: 6 additions & 3 deletions .travis.yml
@@ -1,6 +1,9 @@
language: node_js
sudo: false
node_js:
- "4"
script: make travis
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
- 8
script:
- npm i
- npm run ci
after_script:
- npm install coveralls@2 && cat ./coverage/lcov.info | coveralls
24 changes: 0 additions & 24 deletions Makefile

This file was deleted.

16 changes: 14 additions & 2 deletions README.md
Expand Up @@ -12,7 +12,7 @@
[travis-url]: https://travis-ci.org/macacajs/driver-base
[coveralls-image]: https://img.shields.io/coveralls/macacajs/driver-base.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/macacajs/driver-base?branch=master
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square
[node-image]: https://img.shields.io/badge/node.js-%3E=_8-green.svg?style=flat-square
[node-url]: http://nodejs.org/download/
[download-image]: https://img.shields.io/npm/dm/driver-base.svg?style=flat-square
[download-url]: https://npmjs.org/package/driver-base
Expand All @@ -21,10 +21,22 @@
## Installment

``` bash
```bash
$ npm i driver-base --save
```

<!-- GITCONTRIBUTOR_START -->

## Contributors

|[<img src="https://avatars1.githubusercontent.com/u/1011681?v=4" width="100px;"/><br/><sub><b>xudafeng</b></sub>](https://github.com/xudafeng)<br/>|[<img src="https://avatars1.githubusercontent.com/u/1044425?v=4" width="100px;"/><br/><sub><b>ziczhu</b></sub>](https://github.com/ziczhu)<br/>
| :---: | :---: |


This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto upated at `Sun May 13 2018 22:45:03 GMT+0800`.

<!-- GITCONTRIBUTOR_END -->

## License

The MIT License (MIT)
4 changes: 3 additions & 1 deletion lib/driver-base.js
@@ -1,6 +1,8 @@
'use strict';

const errors = require('webdriver-dfn-error-code').errors;
const {
errors,
} = require('webdriver-dfn-error-code');

function DriverBase() {
}
Expand Down
15 changes: 8 additions & 7 deletions package.json
Expand Up @@ -15,19 +15,20 @@
},
"devDependencies": {
"co-mocha": "*",
"istanbul": "^0.4.5",
"git-contributor": "^1.0.8",
"jshint": "*",
"mocha": "*",
"pre-commit": "1.1.1",
"should": "*"
"nyc": "^11.7.3",
"pre-commit": "^1.2.2"
},
"scripts": {
"test": "make test",
"jshint": "make jshint"
"test": "nyc --reporter=lcov --reporter=text mocha",
"lint": "jshint .",
"ci": "npm run lint && npm run test",
"contributor": "git-contributor"
},
"pre-commit": [
"jshint"
"lint"
],
"homepage": "https://github.com/macacajs/driver-base",
"license": "MIT"
}
5 changes: 3 additions & 2 deletions test/driver-base.test.js
@@ -1,11 +1,12 @@
'use strict';

var DriverBase = require('..');
const assert = require('assert');
const DriverBase = require('..');

describe('Test', function() {

it('DriverBase ok', function() {
DriverBase.should.be.ok();
assert.ok(DriverBase);
});

});
3 changes: 1 addition & 2 deletions test/mocha.opts
@@ -1,2 +1 @@
--require should
--reporter spec
--reporter spec

0 comments on commit 16336f8

Please sign in to comment.