Skip to content

Commit

Permalink
Basic JSON schema validation working
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Jan 11, 2016
1 parent d45f8df commit e21aad3
Show file tree
Hide file tree
Showing 9 changed files with 887 additions and 446 deletions.
7 changes: 4 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,10 @@ gulp.task('zip', shell.task([
]));

// The watch task (to automatically rebuild when the source code changes)
// Does only generate jsoneditor.js and jsoneditor.css, not the minified versions
gulp.task('watch', ['bundle', 'bundle-css'], function () {
gulp.watch(['src/**/*.js'], ['bundle', 'bundle-css']);
// Does only generate jsoneditor.js and jsoneditor.css, and copy the image
// Does NOT minify the code
gulp.task('watch', ['bundle', 'bundle-css', 'copy-img'], function () {
gulp.watch(['src/**/*'], ['bundle', 'bundle-css', 'copy-img']);
});

// The default task (called when you run `gulp`)
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"test": "mocha test"
},
"dependencies": {
"ajv": "3.2.0",
"brace": "0.7.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit e21aad3

Please sign in to comment.