Skip to content
This repository has been archived by the owner on Nov 3, 2019. It is now read-only.

Commit

Permalink
docs(README): use mos-plugin-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed May 29, 2016
1 parent 1b9a732 commit 574d97d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 19 deletions.
22 changes: 3 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
<!--#preview-->
<!--@h1([pkg.name])-->
# mos
<!--/@-->

<!--@blockquote([pkg.description])-->
> A pluggable module that injects content into your markdown files via hidden JavaScript snippets
<!--/@-->
<!--@shields('npm', 'travis', 'coveralls', 'gitter')-->
[![npm version](https://img.shields.io/npm/v/mos.svg)](https://www.npmjs.com/package/mos) [![Build Status](https://img.shields.io/travis/mosjs/mos/master.svg)](https://travis-ci.org/mosjs/mos) [![Coverage Status](https://img.shields.io/coveralls/mosjs/mos/master.svg)](https://coveralls.io/r/mosjs/mos?branch=master) [![Gitter](https://img.shields.io/gitter/room/mosjs/mos.svg)](https://gitter.im/mosjs/mos)
<!--/@-->

<!--#-->

## Why mos?

- Markdown files are always up to date
Expand All @@ -23,23 +16,13 @@

## Preview

The [readme][] you are currently reading uses mos!
The [readme][] you are currently reading uses mos! Here's how the shields are generated:

<!--@snippet('README.md#preview')-->
```md
<!--@h1([pkg.name])-->
# mos
<!--/@-->

<!--@blockquote([pkg.description])-->
> A pluggable module that injects content into your markdown files via hidden JavaScript snippets
<!--/@-->

<!--@shields('npm', 'travis', 'coveralls', 'gitter')-->
[![npm version](https://img.shields.io/npm/v/mos.svg)](https://www.npmjs.com/package/mos) [![Build Status](https://img.shields.io/travis/mosjs/mos/master.svg)](https://travis-ci.org/mosjs/mos) [![Coverage Status](https://img.shields.io/coveralls/mosjs/mos/master.svg)](https://coveralls.io/r/mosjs/mos?branch=master) [![Gitter](https://img.shields.io/gitter/room/mosjs/mos.svg)](https://gitter.im/mosjs/mos)
<!--/@-->
```
<!--/@-->

## Table of Contents

Expand Down Expand Up @@ -82,7 +65,7 @@ Your `package.json` will be updated with some new dependencies and `script` prop
"?md": "echo \"Update the markdown files\""
},
"devDependencies": {
"mos": "^0.17.0"
"mos": "^1.2.0"
}
}
```
Expand Down Expand Up @@ -255,6 +238,7 @@ To disable a default plugin, pass `false` instead of a config object:
- [ghooks](https://github.com/gtramontina/ghooks): Simple git hooks
- [istanbul](https://github.com/gotwarlost/istanbul): Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests
- [mocha](https://github.com/mochajs/mocha): simple, flexible, fun test framework
- [mos-plugin-readme](https://github.com/mosjs/mos-plugin-readme): A mos plugin for generating README
- [semantic-release](https://github.com/semantic-release/semantic-release): automated semver compliant package publishing
- [validate-commit-msg](https://github.com/kentcdodds/validate-commit-msg): Script to validate a commit message follows the conventional changelog standard

Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"node": ">=0.10"
},
"mos": {
"plugins": [
"readme"
],
"installation": false
},
"scripts": {
Expand Down Expand Up @@ -105,6 +108,7 @@
"ghooks": "^1.2.1",
"istanbul": "^1.0.0-alpha.2",
"mocha": "^2.3.4",
"mos-plugin-readme": "^1.0.1",
"semantic-release": "^4.3.5",
"validate-commit-msg": "^2.6.1"
},
Expand Down

0 comments on commit 574d97d

Please sign in to comment.