Skip to content

Commit

Permalink
Merge pull request #1 from mirceaalexandru/dev
Browse files Browse the repository at this point in the history
Changes for doc
  • Loading branch information
mirceaalexandru committed Dec 11, 2015
2 parents 07b509f + 3469e6b commit 722b1f6
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: node_js
node_js:
- "5"
- "4"
cache:
directories:
- node_modules
after_script:
- npm run cover
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ State-machine plugin for Seneca

![Seneca](http://senecajs.org/files/assets/seneca-logo.png)

# seneca-sm
[![npm version][npm-badge]][npm-url]
[![Build Status][travis-badge]][travis-url]
[![Coverage Status][coverage-badge]][coverage-url]


## Seneca State-Machine Plugin

Expand Down Expand Up @@ -91,7 +96,7 @@ Configuration structure for state machine is:

The following simple state machine will be used as example.

![Diagram](https://github.com/mirceaalexandru/seneca-sm/blob/master/doc/diagram.png)
![Diagram](http://www.alexandrumircea.ro/share/seneca-sm/diagram.png)

The configuration to be used for this state machine is:

Expand Down Expand Up @@ -187,3 +192,11 @@ The configuration to be used for this state machine is:
```sh
npm test
```

[travis-badge]: https://api.travis-ci.org/mirceaalexandru/seneca-sm.svg
[travis-url]: https://travis-ci.org/mirceaalexandru/seneca-sm
[npm-badge]: https://badge.fury.io/js/seneca-sm.svg
[npm-url]: https://badge.fury.io/js/seneca-sm
[coverage-badge]: https://coveralls.io/repos/mirceaalexandru/seneca-sm/badge.svg?branch=master&service=github
[coverage-url]: https://coveralls.io/github/mirceaalexandru/seneca-sm?branch=master

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"main": "lib/sm.js",
"scripts": {
"start": "lib/sm.js",
"test": "lab"
"test": "lab -v -P test -t 80",
"cover": "lab -s -P test -r lcov | coveralls",
"lint": "lab -P test -dL"
},
"keywords": [
"seneca",
Expand Down Expand Up @@ -35,6 +37,7 @@
"devDependencies": {
"lab": "^7.0.0",
"async": "^1.5.0",
"coveralls": "^2.11.4",
"seneca": "~0.7.0"
}
}

0 comments on commit 722b1f6

Please sign in to comment.