diff --git a/Makefile b/Makefile index db3bd36f..09c77dd4 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ docs/html/index.html: docs/jugglingdb.md scripts/doc.sh man: $(MAN_DOCS) html: $(HTML_DOCS) -release: man +build: man web: html rsync ./docs/html/* jugglingdb.co:/var/www/apps/jugglingdb.co/public diff --git a/package.json b/package.json index 99870f6c..17511c5a 100644 --- a/package.json +++ b/package.json @@ -51,17 +51,24 @@ }, "main": "index.js", "scripts": { - "test": "make test" + "test": "make test", + "prepublish": "make build" }, + "man": [ + "./docs/man/jugglingdb.3", + "./docs/man/schema.3", + "./docs/man/model.3", + "./docs/man/hooks.3", + "./docs/man/validations.3", + "./docs/man/jugglingdb.3", + "./docs/man/roadmap.3", + "./docs/man/changelog.3" + ], "engines": [ "node >= 0.6" ], "devDependencies": { "semicov": "*", - "nodeunit": ">= 0.6.4", - "coffee-script": "latest" - }, - "dependencies": { "should": "~1.2.2", "mocha": "~1.8.2" }