Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/grunt-css-flip.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <github@rebertia.com>2015-02-05 21:41:52 +0300
committerChris Rebert <github@rebertia.com>2015-02-05 21:41:52 +0300
commit511c3633589c36748cec9c43f654f0308f02bc8d (patch)
treeab84b723517f2ad2abbb7dec014940647d2f36bc
parentdb5e85bacfeb497ecf01fba7cc91eb5e52919762 (diff)
parent2479c4e768207d4e5e54d27e5a91bd708b67dddf (diff)
Merge pull request #21 from twbs/deps
Update dependencies and add `lint` in `test` target
-rw-r--r--Gruntfile.js8
-rw-r--r--package.json8
2 files changed, 8 insertions, 8 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 38615c3..b240dbf 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -81,13 +81,13 @@ module.exports = function (grunt) {
// These plugins provide necessary tasks.
require('load-grunt-tasks')(grunt, {scope: 'devDependencies'});
+ grunt.registerTask('lint', ['jshint', 'eslint', 'jscs']);
+
// Whenever the "test" task is run, first clean the "tmp" dir, then run this
// plugin's task(s), then test the result.
- grunt.registerTask('test', ['clean', 'cssflip', 'nodeunit']);
-
- grunt.registerTask('lint', ['jshint', 'eslint', 'jscs']);
+ grunt.registerTask('test', ['lint', 'clean', 'cssflip', 'nodeunit']);
// By default, lint and run all tests.
- grunt.registerTask('default', ['lint', 'test']);
+ grunt.registerTask('default', 'test');
};
diff --git a/package.json b/package.json
index c2aa410..30f51d9 100644
--- a/package.json
+++ b/package.json
@@ -26,10 +26,10 @@
"grunt": "~0.4.5",
"grunt-contrib-clean": "~0.6.0",
"grunt-contrib-jshint": "~0.11.0",
- "grunt-contrib-nodeunit": "~0.4.0",
- "grunt-eslint": "^4.0.0",
- "grunt-jscs": "^1.1.0",
- "load-grunt-tasks": "^3.0.0"
+ "grunt-contrib-nodeunit": "~0.4.1",
+ "grunt-eslint": "^5.1.0",
+ "grunt-jscs": "^1.2.0",
+ "load-grunt-tasks": "^3.1.0"
},
"peerDependencies": {
"grunt": "~0.4.3"