forked from Sunbird-Knowlg/sunbird-generic-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
45 lines (36 loc) · 1.31 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
40
41
42
43
44
45
/*// Generated on 2015-12-14 using generator-angular 0.14.0
'use strict';
module.exports = function(grunt) {
// Configurable paths for the application
var appConfig = {
app: 'app',
dist: 'dist'
};
// Define the configuration for all the tasks
grunt.initConfig({
// Project settings
yeoman: appConfig,
// Watches files for changes and runs tasks based on the changed file
aws_s3: {
options: {
accessKeyId: '', // Use the variables
secretAccessKey: '', // You can also use env variables
region: 'ap-south-1',
uploadConcurrency: 5, // 5 simultaneous uploads
downloadConcurrency: 5 // 5 simultaneous downloads
},
main: {
options: {
bucket: 'ekstep-public-dev',
differential: true, // Only uploads the files that have changed
gzipRename: 'ext' // when uploading a gz file, keep the original extension
},
files: [
{ dest: 'content-editor/scripts/plugin-framework.min.js', cwd: 'app/scripts/', action: 'download' }
]
}
},
});
grunt.loadNpmTasks('grunt-aws-s3');
};
*/