Commit 32a20d30 authored by radiolips's avatar radiolips Committed by GitHub
Browse files

Merge pull request #762 from efx/topic-trigger-linting-for-test

include linting for npm test
parents 202ce9dd 3c3a50a8
......@@ -106,6 +106,7 @@ module.exports = function(grunt) {
}
});
grunt.registerTask('lint', ['jshint', 'jscs']);
grunt.registerTask('default', ['sass', 'cssmin', 'jshint', 'jscs', 'copy', 'uglify']);
grunt.registerTask('e2e-test', ['connect', 'protractor_webdriver', 'protractor']);
};
......@@ -9,7 +9,7 @@
},
"scripts": {
"build": "grunt ; doctoc ./README.md ; doctoc ./doc/README.md ; doctoc ./doc/CHANGES.md",
"test": "karma start karma.conf.js"
"test": "grunt lint && karma start karma.conf.js"
},
"keywords": [
"gridstack",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment