1 Star 0 Fork 1

helongquan/jeditable

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Gruntfile.js 966 Bytes
一键复制 编辑 原始数据 按行查看 历史
Nicolas CARPi 提交于 2018-02-20 17:24 . cosmetic changes
/**
* Gruntfile.js
*
* Run 'grunt' in shell to minify javascript
*
*/
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= pkg.homepage %> */\n',
mangle: false
},
dist: {
files: {
'dist/jquery.jeditable.min.js': 'src/jquery.jeditable.js',
'dist/jquery.jeditable.autogrow.min.js': 'src/jquery.jeditable.autogrow.js',
'dist/jquery.jeditable.charcounter.min.js': 'src/jquery.jeditable.charcounter.js',
'dist/jquery.jeditable.datepicker.min.js': 'src/jquery.jeditable.datepicker.js',
'dist/jquery.jeditable.masked.min.js': 'src/jquery.jeditable.masked.js',
'dist/jquery.jeditable.time.min.js': 'src/jquery.jeditable.time.js',
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify-es');
grunt.registerTask('default', 'uglify');
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/helongquan/jeditable.git
git@gitee.com:helongquan/jeditable.git
helongquan
jeditable
jeditable
master

搜索帮助