-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathGruntfile.js
More file actions
27 lines (22 loc) · 779 Bytes
/
Gruntfile.js
File metadata and controls
27 lines (22 loc) · 779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*jshint camelcase:false */
module.exports = function(grunt) {
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
// Project configuration.
grunt.initConfig({
release: {
options: {
bump: true, //default: true
file: 'package.json', //default: package.json
add: true, //default: true
commit: true, //default: true
tag: true, //default: true
push: true, //default: true
pushTags: true, //default: true
npm: true, //default: true
tagName: 'v<%= version %>', //default: '<%= version %>'
commitMessage: 'releasing v<%= version %>', //default: 'release <%= version %>'
tagMessage: 'v<%= version %>' //default: 'Version <%= version %>'
}
}
});
};