Browse Source

* version-task

pull/296/head
RubaXa 10 years ago
parent
commit
52a49f36ed
  1. 11
      Gruntfile.js

11
Gruntfile.js

@ -5,7 +5,16 @@ module.exports = function (grunt) {
pkg: grunt.file.readJSON('package.json'), pkg: grunt.file.readJSON('package.json'),
version: { version: {
src: ['<%= pkg.exportName %>.js', '*.json'] js: {
src: ['<%= pkg.exportName %>.js', '*.json']
},
cdn: {
options: {
prefix: '(cdnjs\\.cloudflare\\.com\\/ajax\\/libs\\/Sortable|cdn\\.jsdelivr\\.net\\/sortable)\\/',
replace: '[0-9\\.]+'
},
src: ['README.md']
}
}, },
jshint: { jshint: {

Loading…
Cancel
Save