New version added v0.0.3
This commit is contained in:
parent
9ccec79711
commit
4f693c9859
34
Gruntfile.js
34
Gruntfile.js
@ -1,6 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* Grunt file for node-wifi-scanner
|
* Grunt file for the ZigBeeSiteSurvey
|
||||||
*
|
*
|
||||||
|
* grunt update
|
||||||
|
* Updates the local common files with the ones from the editor project
|
||||||
|
|
||||||
* Create a new bugfix version (x.y.++):
|
* Create a new bugfix version (x.y.++):
|
||||||
* grunt v:patch
|
* grunt v:patch
|
||||||
*
|
*
|
||||||
@ -10,7 +13,7 @@
|
|||||||
* Create a new major version (++.0.0)
|
* Create a new major version (++.0.0)
|
||||||
* grunt v:major
|
* grunt v:major
|
||||||
*
|
*
|
||||||
* Created by kc on 06.04.16
|
* Created by kc on 27.06.15.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
module.exports = function (grunt) {
|
module.exports = function (grunt) {
|
||||||
@ -26,43 +29,18 @@ module.exports = function (grunt) {
|
|||||||
commitFiles: ['-a'],
|
commitFiles: ['-a'],
|
||||||
tagName: 'v%VERSION%',
|
tagName: 'v%VERSION%',
|
||||||
tagMessage: 'Version %VERSION%',
|
tagMessage: 'Version %VERSION%',
|
||||||
push: true,
|
push: false,
|
||||||
pushTo: 'git@github.com:ancasicolica/ZigBeeSiteSurvey.git',
|
|
||||||
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
|
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
|
||||||
globalReplace: false,
|
globalReplace: false,
|
||||||
prereleaseName: false,
|
prereleaseName: false,
|
||||||
regExp: false
|
regExp: false
|
||||||
}
|
}
|
||||||
},
|
|
||||||
|
|
||||||
zip: {
|
|
||||||
'make': {
|
|
||||||
src: ['./**/**'],
|
|
||||||
dest: '../ZigBeeSiteSurvey_x.y.z_OS_.zip',
|
|
||||||
compression: 'DEFLATE'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
compress: {
|
|
||||||
main: {
|
|
||||||
options: {
|
|
||||||
archive: 'dist/ZigBeeSiteSurvey-' + grunt.file.readJSON('package.json').version + '-Win-x64.zip'
|
|
||||||
},
|
|
||||||
files: [{
|
|
||||||
src: ['*.js', 'LICENSE', '*.json', 'node.exe', '*.md', 'lib/**', 'node_modules/**', 'public/**', 'routes/**', 'views/**'],
|
|
||||||
dest: 'ZigBeeSiteSurvey-' + grunt.file.readJSON('package.json').version + '-Win-x64'
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
grunt.loadNpmTasks('grunt-bump');
|
grunt.loadNpmTasks('grunt-bump');
|
||||||
grunt.loadNpmTasks('grunt-zip');
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-compress');
|
|
||||||
grunt.registerTask('minify', ['concat', 'uglify:js']);
|
|
||||||
grunt.registerTask('v:patch', ['bump:patch']);
|
grunt.registerTask('v:patch', ['bump:patch']);
|
||||||
grunt.registerTask('v:minor', ['bump:minor']);
|
grunt.registerTask('v:minor', ['bump:minor']);
|
||||||
grunt.registerTask('v:major', ['bump:major']);
|
grunt.registerTask('v:major', ['bump:major']);
|
||||||
grunt.registerTask('make', ['zip:make']);
|
|
||||||
};
|
};
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-wifi-scanner",
|
"name": "node-wifi-scanner",
|
||||||
"version": "0.0.2",
|
"version": "0.0.3",
|
||||||
"description": "node.js module for WiFi network detection",
|
"description": "node.js module for WiFi network detection",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user