New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

components-font-awesome

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

components-font-awesome - npm Package Compare versions

Comparing version 4.7.0 to 5.0.6

css/fa-brands.css

7

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc