forked from hapijs/iron
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Eran Hammer
committed
Mar 18, 2013
1 parent
b813729
commit 2949ca4
Showing
3 changed files
with
19 additions
and
20 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 |
---|---|---|
@@ -1,12 +1,11 @@ | ||
REPORTER = dot | ||
|
||
test: | ||
@NODE_ENV=test ./node_modules/.bin/mocha --recursive --reporter $(REPORTER) --ignore-leaks --timeout 3000 | ||
|
||
test-cov: | ||
@NODE_ENV=test ./node_modules/.bin/mocha --require blanket --recursive --ignore-leaks --timeout 3000 -R travis-cov | ||
|
||
@./node_modules/.bin/lab | ||
test-cov: | ||
@./node_modules/.bin/lab -r threshold -t 100 | ||
test-cov-html: | ||
@NODE_ENV=test ./node_modules/.bin/mocha --require blanket --recursive --ignore-leaks --timeout 3000 -R html-cov > coverage.html | ||
@./node_modules/.bin/lab -r html -o coverage.html | ||
complexity: | ||
@./node_modules/.bin/cr -o complexity.md -f markdown lib | ||
|
||
.PHONY: test test-cov test-cov-html complexity | ||
|
||
.PHONY: test test-cov test-cov-html |
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,7 +1,7 @@ | ||
{ | ||
"name": "iron", | ||
"description": "Encapsulated tokens (encrypted and mac'ed objects)", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"author": "Eran Hammer <[email protected]> (http://hueniverse.com)", | ||
"contributors": [], | ||
"repository": "git://github.com/hueniverse/iron", | ||
|
@@ -15,20 +15,16 @@ | |
"node": ">=0.8.0" | ||
}, | ||
"dependencies": { | ||
"hoek": "0.6.x", | ||
"hoek": "0.7.x", | ||
"boom": "0.3.x", | ||
"cryptiles": "0.1.x" | ||
}, | ||
"devDependencies": { | ||
"mocha": "1.x.x", | ||
"chai": "1.x.x", | ||
"blanket": "1.0.x", | ||
"travis-cov": "0.2.x" | ||
"lab": "0.0.x", | ||
"complexity-report": "0.x.x" | ||
}, | ||
"scripts": { | ||
"test": "make test && make test-cov", | ||
"blanket": { "pattern": "//^((?!\/node_modules\/)(?!\/test\/).)*$/ig", "onlyCwd": true, "data-cover-flags": { "branchTracking": true } }, | ||
"travis-cov": { "threshold": 100 } | ||
"test": "make test-cov" | ||
}, | ||
"licenses": [ | ||
{ | ||
|
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