-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
103 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- stable | ||
|
||
install: | ||
- npm install | ||
|
||
script: | ||
- npm run cover | ||
|
||
# Send coverage data to Coveralls | ||
after_script: "cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,41 @@ | ||
# nodespec | ||
Speculaas [![Build Status](https://travis-ci.org/mrijk/nodespec.svg)](https://travis-ci.org/mrijk/nodespec) | ||
[![Coverage Status](https://coveralls.io/repos/github/mrijk/nodespec/badge.svg?branch=master)](https://coveralls.io/github/mrijk/nodespec?branch=master) | ||
====== | ||
|
||
NodeJS version of [clojure.spec](http://clojure.org/about/spec) | ||
|
||
Disclaimer: for now mostly experimental, incomplete and potentially harmful ;) | ||
## Installation | ||
|
||
If you want to contribute, you are more than welcome! | ||
`npm install speculaas` | ||
|
||
## Usage | ||
|
||
For now, see the examples folder. | ||
|
||
## Tests | ||
|
||
Unit tests: | ||
|
||
`npm test` | ||
|
||
Test coverage: | ||
|
||
`npm run cover` | ||
|
||
If you want to test: | ||
Run [ESlint](http://eslint.org): | ||
|
||
```bash | ||
$ npm test | ||
``` | ||
`npm run lint` | ||
|
||
For an alternative look at [js.spec](http://js-spec.online) | ||
## FAQ | ||
|
||
Q: what kind of a silly name is speculaas? | ||
|
||
A: [nodespec](https://www.npmjs.com/package/nodespec) and [node-spec](https://www.npmjs.com/package/node-spec) where already taken. [Speculaas](https://en.wikipedia.org/wiki/Speculaas) is a kind of a Dutch/Belgium biscuit. | ||
|
||
Q: any alternatives for your code? | ||
|
||
A: for an alternative look at [js.spec](http://js-spec.online) | ||
|
||
## Contributing | ||
|
||
If you want to contribute, you are more than welcome! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
// Empty | ||
module.exports = require('./lib/spec'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,33 @@ | ||
{ | ||
"name": "spec", | ||
"version": "1.0.0", | ||
"name": "speculaas", | ||
"version": "0.0.3", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha --recursive -R spec", | ||
"cover": "istanbul cover _mocha -- -R spec", | ||
"lint": "eslint lib samples" | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
"author": { | ||
"name": "Maurits Rijk", | ||
"email": "maurits.rijk@gmail.com" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/mrijk/nodespec/issues" | ||
}, | ||
"engines": { | ||
"node": ">=6.0.0" | ||
}, | ||
"license": "MIT", | ||
"dependencies": { | ||
"lodash": "^4.17.4", | ||
"testcheck": "^0.1.4" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"eslint": "^3.17.0", | ||
"coveralls": "^2.13.0", | ||
"eslint": "^3.19.0", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^3.2.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters