Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Commit 2888a69

Browse files
authored
Apply common project tweaks (round 2) (#40)
* Add dependency-check * Add Donate section and badges to README.md * Run hallmark * Tweak badges and links in README.md
1 parent 0a015cf commit 2888a69

File tree

3 files changed

+26
-10
lines changed

3 files changed

+26
-10
lines changed

Diff for: CONTRIBUTORS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
| Name | GitHub | Social |
44
| :------------------- | :----------------------------------------------------- | :--------------------------------------------------------- |
55
| **Lars-Magnus Skog** | [**@ralphtheninja**](https://github.com/ralphtheninja) | [**@ralph@social.weho.st**](https://social.weho.st/@ralph) |
6-
| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) |
76
| **Rod Vagg** | [**@rvagg**](https://github.com/rvagg) | [**@rvagg@twitter**](https://twitter.com/rvagg) |
7+
| **Vincent Weevers** | [**@vweevers**](https://github.com/vweevers) | [**@vweevers@twitter**](https://twitter.com/vweevers) |

Diff for: README.md

+21-8
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22

33
> Fast & simple storage - a Node.js-style HyperLevelDB wrapper
44
5-
[![level badge][level-badge]](https://github.com/level/awesome)
6-
[![npm](https://img.shields.io/npm/v/level-hyper.svg)](https://www.npmjs.com/package/level-hyper)
7-
![Node version](https://img.shields.io/node/v/level-hyper.svg)
8-
[![Build Status](https://img.shields.io/travis/Level/level-hyper.png)](https://travis-ci.org/Level/level-hyper)
9-
[![dependencies](https://david-dm.org/Level/level-hyper.svg)](https://david-dm.org/level/level-hyper)
10-
[![npm](https://img.shields.io/npm/dm/level-hyper.svg)](https://www.npmjs.com/package/level-hyper)
5+
[![level badge][level-badge]](https://github.com/Level/awesome)
6+
[![npm](https://img.shields.io/npm/v/level-hyper.svg?label=&logo=npm)](https://www.npmjs.com/package/level-hyper)
7+
[![Node version](https://img.shields.io/node/v/level-hyper.svg)](https://www.npmjs.com/package/level-hyper)
8+
[![Travis](https://img.shields.io/travis/Level/level-hyper.svg?logo=travis&label=)](https://travis-ci.org/Level/level-hyper)
9+
[![npm](https://img.shields.io/npm/dm/level-hyper.svg?label=dl)](https://www.npmjs.com/package/level-hyper)
1110
[![Coverage Status](https://coveralls.io/repos/github/Level/level-hyper/badge.svg)](https://coveralls.io/github/Level/level-hyper)
1211
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
12+
[![Backers on Open Collective](https://opencollective.com/level/backers/badge.svg?color=orange)](#backers)
13+
[![Sponsors on Open Collective](https://opencollective.com/level/sponsors/badge.svg?color=orange)](#sponsors)
1314

14-
This is a convenience package that bundles the current release of **[levelup](https://github.com/level/levelup)** and **[leveldown-hyper](https://github.com/level/leveldown-hyper)** and exposes `levelup` on its export.
15+
This is a convenience package that bundles the current release of **[levelup](https://github.com/Level/levelup)** and **[leveldown-hyper](https://github.com/Level/leveldown-hyper)** and exposes `levelup` on its export.
1516

1617
Use this package to avoid having to explicitly install `leveldown-hyper` when you want to use `leveldown-hyper` with `levelup`.
1718

@@ -55,7 +56,7 @@ db.on('ready', function () {
5556
})
5657
```
5758

58-
See **[levelup](https://github.com/level/levelup)** and **[leveldown-hyper](https://github.com/level/leveldown-hyper)** for more details.
59+
See **[levelup](https://github.com/Level/levelup)** and **[leveldown-hyper](https://github.com/Level/leveldown-hyper)** for more details.
5960

6061
## Contributing
6162

@@ -65,6 +66,18 @@ See **[levelup](https://github.com/level/levelup)** and **[leveldown-hyper](http
6566
6667
See the [Contribution Guide](https://github.com/Level/community/blob/master/CONTRIBUTING.md) for more details.
6768

69+
## Donate
70+
71+
To sustain [`Level`](https://github.com/Level) and its activities, become a backer or sponsor on [Open Collective](https://opencollective.com/level). Your logo or avatar will be displayed on our 28+ [GitHub repositories](https://github.com/Level), [npm](https://www.npmjs.com/) packages and (soon) [our website](http://leveldb.org). 💖
72+
73+
### Backers
74+
75+
[![Open Collective backers](https://opencollective.com/level/backers.svg?width=890)](https://opencollective.com/level)
76+
77+
### Sponsors
78+
79+
[![Open Collective sponsors](https://opencollective.com/level/sponsors.svg?width=890)](https://opencollective.com/level)
80+
6881
## License
6982

7083
[MIT](LICENSE.md) © 2012-present [Contributors](CONTRIBUTORS.md).

Diff for: package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77
"scripts": {
88
"test": "standard && hallmark && nyc node test.js",
99
"coverage": "nyc report --reporter=text-lcov | coveralls",
10-
"hallmark": "hallmark --fix"
10+
"hallmark": "hallmark --fix",
11+
"dependency-check": "dependency-check . test.js",
12+
"prepublishOnly": "npm run dependency-check"
1113
},
1214
"dependencies": {
1315
"level-packager": "~4.0.0",
1416
"leveldown-hyper": "~2.0.0"
1517
},
1618
"devDependencies": {
1719
"coveralls": "^3.0.2",
20+
"dependency-check": "^3.3.0",
1821
"hallmark": "^0.1.0",
1922
"level-community": "^3.0.0",
2023
"nyc": "^12.0.2",

0 commit comments

Comments
 (0)