forked from ceceradio/twitter-block-chain
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Gruntfile.js
39 lines (36 loc) · 1.72 KB
/
Gruntfile.js
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
28
29
30
31
32
33
34
35
36
37
38
39
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
compress: {
main: {
options: {
archive: 'blockchain.zip'
},
files: [
{src: 'js/*', dest: ''},
{src: 'css/*', dest: ''},
{src: 'images/*', dest: ''},
{src: '*.html', dest: ''},
{src: '*.json', dest: ''},
{src: 'LICENSE', dest: ''},
{src: 'CONTRIBUTORS', dest: ''},
{src: 'README.md', dest: ''},
{src: 'bower_components/angular/angular.min.js', dest: ''},
{src: 'bower_components/angular-route/angular-route.min.js', dest: ''},
{src: 'bower_components/bootstrap/dist/css/bootstrap.min.css', dest: ''},
{src: 'bower_components/bootstrap/dist/js/bootstrap.min.js', dest: ''},
{src: 'bower_components/jquery/dist/jquery.min.js', dest: ''},
{src: 'bower_components/angular-datatables/dist/angular-datatables.min.js', dest: ''},
{src: 'bower_components/datatables/media/js/jquery.dataTables.min.js', dest: ''},
{src: 'bower_components/datatables/media/css/jquery.dataTables.min.css', dest: ''},
{src: 'bower_components/datatables/media/images/*', dest: ''},
]
}
},
});
grunt.loadNpmTasks('grunt-contrib-compress');
// Default task(s).
grunt.registerTask('default', ['build-chrome']);
grunt.registerTask('build-chrome', ['compress:main']);
};