From cc9598d6afacffef97b7aaae003df4ca9bd42608 Mon Sep 17 00:00:00 2001 From: Zeno Rocha Date: Tue, 7 May 2013 14:37:41 -0300 Subject: [PATCH] Move Docpad generation from Travis config file to NPM test script --- .travis.yml | 3 +-- package.json | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 43d3b02a..bb7374a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,5 +3,4 @@ node_js: - 0.8 - 0.10 before_script: - - npm install -g docpad - - docpad generate \ No newline at end of file + - npm install -g docpad \ No newline at end of file diff --git a/package.json b/package.json index f666b84c..199301ac 100644 --- a/package.json +++ b/package.json @@ -3,14 +3,17 @@ "version": "0.2.0", "description": "A kickstart to create websites for conference/events.", "homepage": "http://confboilerplate.com", - "repository" : { + "repository": { "type" : "git", "url" : "http://github.com/braziljs/conf-boilerplate.git" }, - "engines" : { + "engines": { "node": ">0.8.x", "npm": "1.1.x" }, + "scripts": { + "test": "docpad generate" + }, "dependencies": { "docpad-plugin-eco": "2.0.2", "docpad-plugin-marked": "2.1.1",