diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bb991bc --- /dev/null +++ b/Makefile @@ -0,0 +1,6 @@ +test: + @node node_modules/lab/bin/lab +test-cov: + @node node_modules/lab/bin/lab -t 100 -v + +.PHONY: test test-cov diff --git a/README.md b/README.md index 9cc9d35..01363d2 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,4 @@ hapi-lxjs LXJS Repository for API building -yo yo yo! +yo yo yo yo yo! diff --git a/package.json b/package.json index 3121301..7a3767c 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "hapi-lxjs", - "version": "0.0.0", + "version": "0.0.1", "description": "Hapi plugins for the LXJS Hapi workshop", "main": "index.js", "directories": { "example": "example" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "make test" }, "repository": { "type": "git", @@ -25,6 +25,9 @@ }, "homepage": "https://github.com/nvcexploder/hapi-lxjs", "dependencies": { - "hapi": "^6.0.2" + "hapi": "6.x.x" + }, + "devDependencies": { + "lab": "3.x.x" } }