mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-19 03:12:48 -04:00
Add license plugin for grunt (#359)
This commit is contained in:
11
Gruntfile.js
11
Gruntfile.js
@@ -183,11 +183,22 @@ module.exports = function(grunt) {
|
||||
src: ['**/header.php', '**/login.php']
|
||||
}
|
||||
}
|
||||
},
|
||||
license: {
|
||||
all: {
|
||||
// Target-specific file lists and/or options go here.
|
||||
options: {
|
||||
// Target-specific options go here.
|
||||
directory: 'bower_components',
|
||||
output: 'license/LICENSES'
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
require('load-grunt-tasks')(grunt);
|
||||
grunt.loadNpmTasks('grunt-mocha-webdriver');
|
||||
grunt.loadNpmTasks('grunt-license-bower');
|
||||
|
||||
grunt.registerTask('default', ['wiredep', 'bower_concat', 'bowercopy', 'concat', 'uglify', 'cssmin', 'tags', 'cachebreaker']);
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
"load-grunt-tasks": "^3.4.0",
|
||||
"mocha": "^2.2.1",
|
||||
"phantomjs": "~1.9.2",
|
||||
"wd": "^0.3.3"
|
||||
"wd": "^0.3.3",
|
||||
"grunt-license-bower": "~1.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user