components-font-awesome
Advanced tools
Comparing version 4.7.0 to 5.0.6
{ | ||
"name": "components-font-awesome", | ||
"description": "Font Awesome, the iconic font designed for use with Twitter Bootstrap.", | ||
"version": "4.7.0", | ||
"description": "Font Awesome, the iconic SVG, font, and CSS framework.", | ||
"version": "5.0.6", | ||
"repository": { | ||
@@ -9,4 +9,5 @@ "type": "git", | ||
}, | ||
"main": "css/font-awesome.css", | ||
"main": "css/fontawesome-all.css", | ||
"license": [ | ||
"CC-BY-4.0", | ||
"MIT", | ||
@@ -13,0 +14,0 @@ "OFL-1.1" |
@@ -18,3 +18,31 @@ Font Awesome | ||
Installation | ||
------------ | ||
### Gulp | ||
##### Re-compile bower | ||
If using bower, do not forget to re-compile bower using `gulp bower`. Here is the sample code if you do not have one. | ||
``` javascript | ||
// Update Foundation with Bower and save to /vendor | ||
gulp.task('bower', function() { | ||
return bower({ cmd: 'update'}) | ||
.pipe(gulp.dest('vendor/')) | ||
}); | ||
``` | ||
##### Combine css | ||
With gulp, usually there is a function to combine all *scss* to *css* file for faster page loads. | ||
In the sample case we run function `gulp style` to combine all scss to css file under **./assets/css/** | ||
##### Move font font folder | ||
Here is the **important part**, the default *font folder* is on different path with the compiled bower file. We need to move the font from default *font folder* to the *compiled bower folder* (In the example `vendor` is the compiled folder). | ||
``` javascript | ||
// Move font-awesome fonts folder to css compiled folder | ||
gulp.task('icons', function() { | ||
return gulp.src('./vendor/components-font-awesome/fonts/**.*') | ||
.pipe(gulp.dest('./assets/fonts')); | ||
}); | ||
``` | ||
License | ||
@@ -21,0 +49,0 @@ ------- |
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
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
54
2028022
61
3678