diff --git a/package.json b/package.json index 8e0dde57..2e047187 100644 --- a/package.json +++ b/package.json @@ -12,18 +12,22 @@ "tdd", "bdd" ], + "scripts": { + "test": "./node_modules/.bin/grunt jshint execSpecsInNode" + }, "description": "Official packaging of Jasmine's core files for use by Node.js projects.", "homepage": "http://jasmine.github.io", "main": "./lib/jasmine-core.js", "devDependencies": { + "glob": "~3.2.9", "grunt": "~0.4.1", - "grunt-contrib-jshint": "~0.7.0", - "grunt-contrib-concat": "~0.3.0", + "grunt-cli": "^0.1.13", "grunt-contrib-compass": "~0.6.0", "grunt-contrib-compress": "~0.5.2", - "shelljs": "~0.1.4", - "glob": "~3.2.9", + "grunt-contrib-concat": "~0.3.0", + "grunt-contrib-jshint": "~0.7.0", "jasmine": "https://github.com/jasmine/jasmine-npm/archive/master.tar.gz", - "load-grunt-tasks": "^0.4.0" + "load-grunt-tasks": "^0.4.0", + "shelljs": "~0.1.4" } } diff --git a/travis-node-script.sh b/travis-node-script.sh index 08a1cfc9..76f7a764 100644 --- a/travis-node-script.sh +++ b/travis-node-script.sh @@ -1,6 +1,4 @@ #!/bin/bash -e -npm install -g grunt-cli npm install - -grunt jshint execSpecsInNode +npm test