Adding Font Awesome as node dependency and use it instead the bower

folder
This commit is contained in:
koenemann 2016-09-13 12:59:14 +02:00
parent c19da9fb4b
commit 89637692df
3 changed files with 61 additions and 8 deletions

View File

@ -1,6 +1,7 @@
// Defining base pathes
var basePaths = {
bower: './bower_components/',
node: './node_modules/',
dev: './src/'
};
@ -181,11 +182,11 @@ gulp.task('copy-assets', function() {
////////////////// End Bootstrap 4 Assets /////////////////////////
// Copy all Font Awesome Fonts
gulp.src(basePaths.bower + 'fontawesome/fonts/**/*.{ttf,woff,woff2,eof,svg}')
gulp.src(basePaths.node + 'font-awesome/fonts/**/*.{ttf,woff,woff2,eof,svg}')
.pipe(gulp.dest('./fonts'));
// Copy all Font Awesome SCSS files
gulp.src(basePaths.bower + 'fontawesome/scss/*.scss')
gulp.src(basePaths.node + 'font-awesome/scss/*.scss')
.pipe(gulp.dest(basePaths.dev + '/sass/fontawesome'));
// owl JS files

51
npm-debug.log Normal file
View File

@ -0,0 +1,51 @@
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '--save',
1 verbose cli '_s' ]
2 info using npm@3.5.2
3 info using node@v4.2.3
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData _s
8 silly fetchOtherPackageData _s
9 silly cache add args [ '_s', null ]
10 verbose cache add spec _s
11 silly cache add parsed spec Result {
11 silly cache add raw: '_s',
11 silly cache add scope: null,
11 silly cache add name: null,
11 silly cache add rawSpec: '_s',
11 silly cache add spec: '/Users/koenemann/Documents/git/understrap/_s',
11 silly cache add type: 'local' }
12 error addLocal Could not install /Users/koenemann/Documents/git/understrap/_s
13 silly fetchPackageMetaData Error: ENOENT: no such file or directory, open '/Users/koenemann/Documents/git/understrap/_s'
13 silly fetchPackageMetaData at Error (native)
13 silly fetchPackageMetaData error for _s { [Error: ENOENT: no such file or directory, open '/Users/koenemann/Documents/git/understrap/_s']
13 silly fetchPackageMetaData errno: -2,
13 silly fetchPackageMetaData code: 'ENOENT',
13 silly fetchPackageMetaData syscall: 'open',
13 silly fetchPackageMetaData path: '/Users/koenemann/Documents/git/understrap/_s' }
14 silly rollbackFailedOptional Starting
15 silly rollbackFailedOptional Finishing
16 silly runTopLevelLifecycles Starting
17 silly runTopLevelLifecycles Finishing
18 silly install printInstalled
19 verbose stack Error: ENOENT: no such file or directory, open '/Users/koenemann/Documents/git/understrap/_s'
19 verbose stack at Error (native)
20 verbose cwd /Users/koenemann/Documents/git/understrap
21 error Darwin 14.5.0
22 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "_s"
23 error node v4.2.3
24 error npm v3.5.2
25 error path /Users/koenemann/Documents/git/understrap/_s
26 error code ENOENT
27 error errno -2
28 error syscall open
29 error enoent ENOENT: no such file or directory, open '/Users/koenemann/Documents/git/understrap/_s'
30 error enoent ENOENT: no such file or directory, open '/Users/koenemann/Documents/git/understrap/_s'
30 error enoent This is most likely not a problem with npm itself
30 error enoent and is related to npm not being able to find a file.
31 verbose exit [ -2, true ]

View File

@ -25,20 +25,21 @@
"homepage": "https://github.com/holger1411/understrap",
"dependencies": {
"bower": "^1.7.9",
"browser-sync": "^2.13.0",
"font-awesome": "^4.6.3",
"gulp": "^3.9.1",
"gulp-clone": "^1.0.0",
"gulp-concat": "^2.6.0",
"gulp-cssnano": "^2.1.2",
"gulp-ignore": "^2.0.1",
"gulp-merge": "^0.1.1",
"gulp-plumber": "^1.1.0",
"gulp-rename": "^1.2.2",
"gulp-rimraf": "^0.2.0",
"gulp-sass": "^2.3.2",
"gulp-sourcemaps": "^1.6.0",
"gulp-uglify": "^1.5.3",
"gulp-watch": "^4.3.6",
"gulp-clone": "^1.0.0",
"gulp-merge": "^0.1.1",
"gulp-cssnano": "^2.1.2",
"gulp-sourcemaps": "^1.6.0",
"merge2": "^1.0.2",
"browser-sync": "^2.13.0"
"merge2": "^1.0.2"
}
}