новые иконки в OpenBoard
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
OpenBoard/resources/library/applications/Calculator.wgt/Gruntfile.js

33 lines
823 B

module.exports = function (grunt) {
var baseSrc = 'js/src';
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.initConfig({
uglify: {
options: {
separator: ';'
},
compile: {
src: [
baseSrc + '/Sankore/klass.js',
baseSrc + '/**/*.js'
],
dest: 'dist/calculator.js'
}
},
watch: {
scripts: {
files: 'js/src/**/*.js',
tasks: ['scripts:dist']
}
}
});
grunt.registerTask('default', ['dist', 'watch']);
grunt.registerTask('dist', ['scripts:dist']);
grunt.registerTask('scripts:dist', ['uglify:compile']);
};