Browse Source

* version-task

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

9
Gruntfile.js

@ -5,8 +5,17 @@ module.exports = function (grunt) {
pkg: grunt.file.readJSON('package.json'),
version: {
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: {
all: ['*.js', '!*.min.js'],

Loading…
Cancel
Save