1.0.7 • Published 7 years ago

grunt-contrib-versioning2 v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

grunt-contrib-versioning2

Grunt task to handle versioning of a project.

Getting Started

Requires grunt >=0.4.2. If you haven't used grunt before, be sure to check out the Getting Started guide.

From the same directory as your project's Gruntfile and package.json, install this plugin by running the following command:

npm install grunt-contrib-versioning2 --save-dev

Once that's done, add this line to your project's Gruntfile:

grunt.loadNpmTasks('grunt-contrib-versioning2');

The "version" task

Overview

In your project's Gruntfile, add a section named versioning to the data object passed into grunt.initConfig().

grunt.initConfig({
  versioning: {
        doc: 'index.html',
        files: {
        css: [],
        js: [],
        hastype : 'date'
     }
  }
})
1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago