mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 14:07:55 +01:00
Closes #105: Upgrade grunt dependencies
This commit is contained in:
parent
d84d1428b2
commit
1c558a884d
@ -7,12 +7,17 @@ module.exports = function(grunt) {
|
|||||||
init: ['dist'],
|
init: ['dist'],
|
||||||
after: ['dist/style.css', 'dist/docs.js', 'dist/share.js', 'dist/less.css', 'dist/app']
|
after: ['dist/style.css', 'dist/docs.js', 'dist/share.js', 'dist/less.css', 'dist/app']
|
||||||
},
|
},
|
||||||
ngmin: {
|
ngAnnotate: {
|
||||||
|
options: {
|
||||||
|
singleQuotes: true
|
||||||
|
},
|
||||||
dist: {
|
dist: {
|
||||||
|
files: [{
|
||||||
expand: true,
|
expand: true,
|
||||||
cwd: 'src',
|
cwd: 'src',
|
||||||
src: ['app/**/*.js'],
|
src: ['app/**/*.js'],
|
||||||
dest: 'dist'
|
dest: 'dist'
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
concat: {
|
concat: {
|
||||||
@ -110,12 +115,12 @@ module.exports = function(grunt) {
|
|||||||
grunt.loadNpmTasks('grunt-htmlrefs');
|
grunt.loadNpmTasks('grunt-htmlrefs');
|
||||||
grunt.loadNpmTasks('grunt-css');
|
grunt.loadNpmTasks('grunt-css');
|
||||||
grunt.loadNpmTasks('grunt-contrib-less');
|
grunt.loadNpmTasks('grunt-contrib-less');
|
||||||
grunt.loadNpmTasks('grunt-ngmin');
|
grunt.loadNpmTasks('grunt-ng-annotate');
|
||||||
grunt.loadNpmTasks('grunt-text-replace');
|
grunt.loadNpmTasks('grunt-text-replace');
|
||||||
grunt.loadNpmTasks('grunt-apidoc');
|
grunt.loadNpmTasks('grunt-apidoc');
|
||||||
|
|
||||||
// Default tasks.
|
// Default tasks.
|
||||||
grunt.registerTask('default', ['clean:init', 'ngmin', 'concat:docs', 'concat:share', 'less', 'concat:css', 'cssmin',
|
grunt.registerTask('default', ['clean:init', 'ngAnnotate', 'concat:docs', 'concat:share', 'less', 'concat:css', 'cssmin',
|
||||||
'uglify:docs', 'uglify:share', 'copy', 'clean:after', 'cleanempty', 'htmlrefs:index', 'htmlrefs:share', 'replace', 'apidoc']);
|
'uglify:docs', 'uglify:share', 'copy', 'clean:after', 'cleanempty', 'htmlrefs:index', 'htmlrefs:share', 'replace', 'apidoc']);
|
||||||
|
|
||||||
};
|
};
|
@ -41,7 +41,7 @@
|
|||||||
"grunt-contrib-uglify": "^1.0.1",
|
"grunt-contrib-uglify": "^1.0.1",
|
||||||
"grunt-css": "^0.5.4",
|
"grunt-css": "^0.5.4",
|
||||||
"grunt-htmlrefs": "^0.5.0",
|
"grunt-htmlrefs": "^0.5.0",
|
||||||
"grunt-ngmin": "0.0.3",
|
"grunt-ng-annotate": "^2.0.2",
|
||||||
"grunt-text-replace": "^0.4.0",
|
"grunt-text-replace": "^0.4.0",
|
||||||
"protractor": "^3.3.0",
|
"protractor": "^3.3.0",
|
||||||
"selenium": "^2.20.0"
|
"selenium": "^2.20.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user