@girder/fontello 5.0.0 → 5.0.1

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.
package/.fontello-session CHANGED
@@ -1 +1 @@
1
- b16cc6bedc27d498035ae0e6295d820b
1
+ 43cc70a401aac26e52cc8f3ee060ea14
@@ -1,11 +1,11 @@
1
1
  @font-face {
2
2
  font-family: 'fontello';
3
- src: url('../fonts/fontello.eot?75384400');
4
- src: url('../fonts/fontello.eot?75384400#iefix') format('embedded-opentype'),
5
- url('../fonts/fontello.woff2?75384400') format('woff2'),
6
- url('../fonts/fontello.woff?75384400') format('woff'),
7
- url('../fonts/fontello.ttf?75384400') format('truetype'),
8
- url('../fonts/fontello.svg?75384400#fontello') format('svg');
3
+ src: url('../fonts/fontsello.eot?59690226');
4
+ src: url('../fonts/fontsello.eot?59690226#iefix') format('embedded-opentype'),
5
+ url('../fonts/fontsello.woff2?59690226') format('woff2'),
6
+ url('../fonts/fontsello.woff?59690226') format('woff'),
7
+ url('../fonts/fontsello.ttf?59690226') format('truetype'),
8
+ url('../fonts/fontsello.svg?59690226#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('../fonts/fontello.svg?75384400#fontello') format('svg');
18
+ src: url('../fonts/fontsello.svg?59690226#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": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Built Fontello files for use in Girder.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -12,14 +12,11 @@
12
12
  },
13
13
  "main": "index.js",
14
14
  "scripts": {
15
- "build": "grunt",
15
+ "build": "rm -rf dist .fontello-session && npx fontello-cli install --config fontello.config.json --css dist/css --font dist/fonts --host https://fontello.com && sed -i 's#/font#/fonts#g' dist/css/fontello.css && rm -f dist/css/fontello-codes.css dist/css/fontello-embedded.css dist/css/fontello-ie7.css dist/css/fontello-ie7-codes.css",
16
16
  "prepublishOnly": "$npm_execpath install && $npm_execpath run build"
17
17
  },
18
18
  "devDependencies": {
19
- "fontello-cli": "^0.6.2",
20
- "grunt": "~1.5.0",
21
- "grunt-contrib-clean": "^2.0.0",
22
- "grunt-shell": "^4.0.0"
19
+ "fontello-cli": "^0.6.2"
23
20
  },
24
21
  "keywords": [
25
22
  "fontello",
package/Gruntfile.js DELETED
@@ -1,27 +0,0 @@
1
- /* global module */
2
- module.exports = function (grunt) {
3
- grunt.initConfig({
4
- clean: {
5
- dist: ['dist', '.fontello-session'],
6
- extra: [
7
- 'dist/css/fontello-codes.css',
8
- 'dist/css/fontello-embedded.css',
9
- 'dist/css/fontello-ie7.css',
10
- 'dist/css/fontello-ie7-codes.css'
11
- ]
12
- },
13
- shell: {
14
- dist: {
15
- command: 'fontello-cli install --config fontello.config.json --css dist/css --font dist/fonts --host https://fontello.com'
16
- },
17
- adjust: {
18
- command: "sed -i 's/\\/font\\//\\/fonts\\//g' dist/css/fontello.css"
19
- }
20
- }
21
- });
22
-
23
- grunt.loadNpmTasks('grunt-contrib-clean');
24
- grunt.loadNpmTasks('grunt-shell');
25
-
26
- grunt.registerTask('default', ['clean:dist', 'shell:dist', 'shell:adjust', 'clean:extra']);
27
- };