diff --git a/.travis.yml b/.travis.yml index 57642bf..6e5919d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,3 @@ language: node_js node_js: - "0.10" -before_script: - - npm install -g grunt-cli -script: grunt test diff --git a/package.json b/package.json index ebd9847..df73a08 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "0.3.1-pre", "private": true, "repository": "git://github.com/yui/pure.git", + "scripts": { + "test": "grunt test" + }, "devDependencies": { "bower": "~1.2.5", "grunt": "~0.4.1", @@ -13,6 +16,7 @@ "grunt-contrib-compress": "~0.5.0", "grunt-contrib-csslint": "~0.1.2", "grunt-contrib-watch": "~0.5.3", - "grunt-css-selectors": "~0.1.0" + "grunt-css-selectors": "~0.1.0", + "grunt-cli": "~0.1.9" } }