@girder/fontello 3.1.10 → 3.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ c5db7ad5a8e1011a99beeccc16ecd9e0
package/Gruntfile.js CHANGED
@@ -1,29 +1,26 @@
1
1
  module.exports = function (grunt) {
2
2
  grunt.initConfig({
3
- clean: [
4
- 'dist'
5
- ],
6
- fontello: {
3
+ clean: {
4
+ dist: ['dist'],
5
+ extra: [
6
+ 'dist/css/fontello-codes.css',
7
+ 'dist/css/fontello-embedded.css',
8
+ 'dist/css/fontello-ie7.css',
9
+ 'dist/css/fontello-ie7-codes.css'
10
+ ]
11
+ },
12
+ shell: {
7
13
  dist: {
8
- options: {
9
- host: 'https://fontello.com',
10
- config: 'fontello.config.json',
11
- fonts: 'dist/fonts',
12
- styles: 'dist/css',
13
- exclude: [
14
- 'fontello-codes.css',
15
- 'fontello-embedded.css',
16
- 'fontello-ie7.css',
17
- 'fontello-ie7-codes.css'
18
- ],
19
- force: true
20
- }
14
+ command: 'fontello-cli install --config fontello.config.json --css dist/css --font dist/fonts --host https://fontello.com'
15
+ },
16
+ adjust: {
17
+ command: "sed -i 's/\\/font\\//\\/fonts\\//g' dist/css/fontello.css"
21
18
  }
22
19
  }
23
20
  });
24
21
 
25
22
  grunt.loadNpmTasks('grunt-contrib-clean');
26
- grunt.loadNpmTasks('grunt-fontello');
23
+ grunt.loadNpmTasks('grunt-shell');
27
24
 
28
- grunt.registerTask('default', ['clean', 'fontello']);
25
+ grunt.registerTask('default', ['clean:dist', 'shell:dist', 'shell:adjust', 'clean:extra']);
29
26
  };
@@ -1,11 +1,11 @@
1
1
  @font-face {
2
2
  font-family: 'fontello';
3
- src: url('../font/fontello.eot?98605011');
4
- src: url('../font/fontello.eot?98605011#iefix') format('embedded-opentype'),
5
- url('../font/fontello.woff2?98605011') format('woff2'),
6
- url('../font/fontello.woff?98605011') format('woff'),
7
- url('../font/fontello.ttf?98605011') format('truetype'),
8
- url('../font/fontello.svg?98605011#fontello') format('svg');
3
+ src: url('../fonts/fontello.eot?45624285');
4
+ src: url('../fonts/fontello.eot?45624285#iefix') format('embedded-opentype'),
5
+ url('../fonts/fontello.woff2?45624285') format('woff2'),
6
+ url('../fonts/fontello.woff?45624285') format('woff'),
7
+ url('../fonts/fontello.ttf?45624285') format('truetype'),
8
+ url('../fonts/fontello.svg?45624285#fontello') format('svg');
9
9
  font-weight: normal;
10
10
  font-style: normal;
11
11
  }
@@ -15,7 +15,7 @@
15
15
  @media screen and (-webkit-min-device-pixel-ratio:0) {
16
16
  @font-face {
17
17
  font-family: 'fontello';
18
- src: url('../font/fontello.svg?98605011#fontello') format('svg');
18
+ src: url('../fonts/fontello.svg?45624285#fontello') format('svg');
19
19
  }
20
20
  }
21
21
  */
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girder/fontello",
3
- "version": "3.1.10",
3
+ "version": "3.1.11",
4
4
  "description": "Built Fontello files for use in Girder.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -16,9 +16,10 @@
16
16
  "prepublishOnly": "$npm_execpath install && $npm_execpath run build"
17
17
  },
18
18
  "devDependencies": {
19
+ "fontello-cli": "^0.6.2",
19
20
  "grunt": "^1.0.3",
20
21
  "grunt-contrib-clean": "^2.0.0",
21
- "grunt-fontello": "^0.3.7"
22
+ "grunt-shell": "^4.0.0"
22
23
  },
23
24
  "keywords": [
24
25
  "fontello",