Permalink
Browse files

add jsvalidate grunt task and npm dependencies

  • Loading branch information...
1 parent 13a305d commit 5176f91e2c42e5308c18504ef935ea6e7b8aeb50 @izuzak committed Jan 22, 2013
Showing with 8 additions and 1 deletion.
  1. +6 −1 grunt.js
  2. +2 −0 package.json
View
@@ -31,10 +31,15 @@ module.exports = function(grunt) {
src: ['lib/friscjs-browser.js'],
dest: 'lib/friscjs-browser.min.js'
}
+ },
+
+ jsvalidate: {
+ all: ['src/friscasm.export.js', 'src/friscsim.js', 'consoleapp/frisc-console.js', 'webapp/scripts/*']
}
});
grunt.loadNpmTasks('grunt-peg');
+ grunt.loadNpmTasks('grunt-jsvalidate');
- grunt.registerTask('default', 'lint peg concat min');
+ grunt.registerTask('default', 'jsvalidate lint peg concat min');
};
View
@@ -36,6 +36,8 @@
},
"devDependencies": {
"pegjs" : ">=0.7.0",
+ "grunt-peg" : ">=0.0.1",
+ "grunt-jsvalidate" : "0.1.3",
"grunt" : "~0.3.14"
},
"bundleDependencies": [],

0 comments on commit 5176f91

Please sign in to comment.