Improve build scripts of Web frontend
This commit is contained in:
parent
19c66f762d
commit
391ebee218
|
@ -44,13 +44,14 @@ module.exports = function(grunt) {
|
|||
'min': (dev? '' : '.min')
|
||||
};
|
||||
var js = [
|
||||
'<%= src %>/angular/angular<%= min %>.js',
|
||||
'<%= src %>/angular-sanitize/angular-sanitize<%= min %>.js',
|
||||
'<%= src %>/angular/angular<%= min %>.js{,.map}',
|
||||
'<%= src %>/angular-animate/angular-animate<%= min %>.js{,.map}',
|
||||
'<%= src %>/angular-sanitize/angular-sanitize<%= min %>.js{,.map}',
|
||||
'<%= src %>/angular-ui-router/release/angular-ui-router<%= min %>.js',
|
||||
'<%= src %>/angular-foundation/mm-foundation-tpls<%= min %>.js',
|
||||
'<%= src %>/foundation/js/foundation<%= min %>.js',
|
||||
'<%= src %>/ionic/release/js/ionic<%= min %>.js',
|
||||
'<%= src %>/underscore/underscore-min.*'
|
||||
'<%= src %>/underscore/underscore-min.{js,map}'
|
||||
];
|
||||
for (var j = 0; j < js.length; j++) {
|
||||
var files = grunt.file.expand(grunt.template.process(js[j], {data: options}))
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"private": true,
|
||||
"devDependencies": {
|
||||
"angular": "~1.2",
|
||||
"angular-animate": "~1.2",
|
||||
"angular-ui-router": "~0.2",
|
||||
"angular-foundation": "~0.3",
|
||||
"foundation": "~5.3",
|
||||
|
|
Loading…
Reference in a new issue