kityminder-editor
Advanced tools
Comparing version 1.0.62 to 1.0.63
@@ -10,4 +10,5 @@ /* global require, module */ | ||
require('load-grunt-tasks')(grunt); | ||
grunt.loadNpmTasks('grunt-browser-sync'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
var pkg = grunt.file.readJSON('package.json'); | ||
@@ -67,2 +68,17 @@ | ||
// browser sync for dev | ||
browserSync: { | ||
bsFiles: { | ||
dist: 'dist/css/*.css', | ||
src: 'src/**' | ||
}, | ||
options: { | ||
server: { | ||
baseDir: './', | ||
index: 'index.html', | ||
watchTask: true | ||
} | ||
} | ||
}, | ||
// concat | ||
@@ -187,3 +203,3 @@ concat: { | ||
//'wiredep:dev', | ||
'ngtemplates', 'dependence', 'ngAnnotate', 'concat', 'uglify', 'less', 'cssmin', 'copy', 'clean:clstmp']); | ||
'ngtemplates', 'dependence', 'ngAnnotate', 'concat', 'uglify', 'less', 'cssmin', 'copy', 'clean:clstmp', 'browserSync', 'watch']); | ||
}; |
{ | ||
"name": "kityminder-editor", | ||
"version": "1.0.62", | ||
"version": "1.0.63", | ||
"description": "A powerful mind map editor", | ||
@@ -9,3 +9,3 @@ "main": "kityminder.editor.js", | ||
"build": "grunt build", | ||
"dev": "npm run watch", | ||
"dev": "grunt dev", | ||
"watch": "wr --exec \"lessc --source-map less/editor.less dist/kityminder.editor.css && grunt build\" less ui" | ||
@@ -34,2 +34,3 @@ }, | ||
"grunt-angular-templates": "~0.5.0", | ||
"grunt-browser-sync": "^2.2.0", | ||
"grunt-contrib-clean": "^0.5.0", | ||
@@ -41,2 +42,3 @@ "grunt-contrib-concat": "~0.5.0", | ||
"grunt-contrib-uglify": "^3.3.0", | ||
"grunt-contrib-watch": "^1.0.0", | ||
"grunt-module-dependence": "~0.2.0", | ||
@@ -56,4 +58,4 @@ "grunt-ng-annotate": "^0.9.2", | ||
"dependencies": { | ||
"kityminder-core": "^1.4.47" | ||
"kityminder-core": "^1.4.48" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1187977
10149
18
Updatedkityminder-core@^1.4.48