Skip to content

Commit

Permalink
fix badge, add provides for fw
Browse files Browse the repository at this point in the history
  • Loading branch information
echopoint committed Dec 29, 2017
1 parent 4320634 commit ebdf361
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
> Simple mime type library. Can be used standalone or as a module for the allegiant app framework.
>> There be 🐲 here! The API and functionality are being cemented, anything before a 1.0.0 release is subject to change.
[![Npm Version](https://img.shields.io/npm/v/node-git-server.svg)](https://www.npmjs.com/package/@allegiant/mime)
[![Npm Version](https://img.shields.io/npm/v/@allegiant/mime.svg)](https://www.npmjs.com/package/@allegiant/mime)
[![Build Status](https://travis-ci.org/allegiant-js/mime.svg?branch=master)](https://travis-ci.org/allegiant-js/mime.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/allegiant-js/mime/badge.svg?branch=master)](https://coveralls.io/github/allegiant-js/mime?branch=master)

# Installation

## Installation

```
npm install @allegiant/mime --save
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ function processMimeTypes() {
Mime.Configure = function(app, options=false) {
var config = {
defaultType: "application/octet-stream",
provides: 'mime'
};

config.enabled = (typeof options === 'boolean') ? options :
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@allegiant/mime",
"version": "0.2.2",
"version": "0.2.3",
"description": "Simple mime library.",
"author": "echopoint <echopoint@tutanota.com>",
"contributors": [],
Expand Down
3 changes: 2 additions & 1 deletion test/mime.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ test('mime module', (t) => {
defaultType: 'application/octet-stream',
enabled: true,
mime: slim.modules['../index'].mime,
bind: slim.modules['../index'].bind
bind: slim.modules['../index'].bind,
provides: 'mime'
}
});

Expand Down

0 comments on commit ebdf361

Please sign in to comment.