@girder/fontello
Advanced tools
Comparing version 3.1.10 to 3.1.11
module.exports = function (grunt) { | ||
grunt.initConfig({ | ||
clean: [ | ||
'dist' | ||
], | ||
fontello: { | ||
clean: { | ||
dist: ['dist'], | ||
extra: [ | ||
'dist/css/fontello-codes.css', | ||
'dist/css/fontello-embedded.css', | ||
'dist/css/fontello-ie7.css', | ||
'dist/css/fontello-ie7-codes.css' | ||
] | ||
}, | ||
shell: { | ||
dist: { | ||
options: { | ||
host: 'https://fontello.com', | ||
config: 'fontello.config.json', | ||
fonts: 'dist/fonts', | ||
styles: 'dist/css', | ||
exclude: [ | ||
'fontello-codes.css', | ||
'fontello-embedded.css', | ||
'fontello-ie7.css', | ||
'fontello-ie7-codes.css' | ||
], | ||
force: true | ||
} | ||
command: 'fontello-cli install --config fontello.config.json --css dist/css --font dist/fonts --host https://fontello.com' | ||
}, | ||
adjust: { | ||
command: "sed -i 's/\\/font\\//\\/fonts\\//g' dist/css/fontello.css" | ||
} | ||
@@ -26,5 +23,5 @@ } | ||
grunt.loadNpmTasks('grunt-contrib-clean'); | ||
grunt.loadNpmTasks('grunt-fontello'); | ||
grunt.loadNpmTasks('grunt-shell'); | ||
grunt.registerTask('default', ['clean', 'fontello']); | ||
grunt.registerTask('default', ['clean:dist', 'shell:dist', 'shell:adjust', 'clean:extra']); | ||
}; |
{ | ||
"name": "@girder/fontello", | ||
"version": "3.1.10", | ||
"version": "3.1.11", | ||
"description": "Built Fontello files for use in Girder.", | ||
@@ -19,5 +19,6 @@ "license": "Apache-2.0", | ||
"devDependencies": { | ||
"fontello-cli": "^0.6.2", | ||
"grunt": "^1.0.3", | ||
"grunt-contrib-clean": "^2.0.0", | ||
"grunt-fontello": "^0.3.7" | ||
"grunt-shell": "^4.0.0" | ||
}, | ||
@@ -24,0 +25,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
645882
12
4
2885