]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Use pull request #11073 from DanielRuf/chore/move-from-bower-to-npm for v6.5.0
authorDaniel Ruf <daniel@daniel-ruf.de>
Sat, 16 Jun 2018 07:28:02 +0000 (09:28 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sat, 16 Jun 2018 07:28:02 +0000 (09:28 +0200)
e7752a4f3 chore: move from bower to npm

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
.bowerrc [deleted file]
.travis.yml
bower.json
docs/assets/img/gulpfile.js

diff --git a/.bowerrc b/.bowerrc
deleted file mode 100644 (file)
index d1effad..0000000
--- a/.bowerrc
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-  "directory": "bower_components",
-  "modules": false
-}
index d82108b24515a0e3633dcaea7ba34062a03c6e89..3552e4de92cb4d4e0338140eb96f4d5082ee5a65 100644 (file)
@@ -4,7 +4,7 @@ node_js:
   - "lts/carbon"
   - "stable"
 install:
-  - npm install -g bower browserstack-runner
+  - npm install -g browserstack-runner
   - npm install
 script: npm run test:ci
 notifications:
index 6debf2b78fcf9c33a5fb64a5aa6eb32f01c82db8..1cbd79ad5d1a9912fbc9042a86433299dcd8f310 100644 (file)
@@ -26,9 +26,5 @@
     ".versions",
     ".babelrc",
     "yarn.lock"
-  ],
-  "dependencies": {
-    "jquery": ">= 3.0.0",
-    "what-input": "~4.1.3"
-  }
+  ]
 }
index 56cffd6588063219aefb96338ecec3239e2862bb..218e47e85ee0a0118100b9b7a4cd594628a530bb 100755 (executable)
@@ -18,14 +18,14 @@ var paths = {
     'src/downloads/**/*.*'
   ],
   sass: [
-    'bower_components/foundation-sites/scss'
+    'node_modules/foundation-sites/scss'
   ],
   javascript: [
     'node_modules/jquery/dist/jquery.js',
-    'bower_components/foundation-sites/dist/foundation.js',
-    'bower_components/what-input/what-input.js',
+    'node_modules/foundation-sites/dist/foundation.js',
+    'node_modules/what-input/what-input.js',
     'src/assets/js/**/*.js',
-    'bower_components/lodash/lodash.js',
+    'node_modules/lodash/lodash.js',
     'src/assets/js/app.js'
   ]
 };
@@ -161,7 +161,7 @@ gulp.task('default', ['build', 'server'], function() {
   gulp.watch(['./src/{layouts,partials}/**/*.html'], ['pages:reset']);
   gulp.watch(['./src/assets/scss/**/*.scss'], ['sass']);
   gulp.watch(['./src/assets/js/**/*.js'], ['javascript']);
-  gulp.watch(['bower_components/foundation-sites/dist/foundation.js'], ['javascript']);
+  gulp.watch(['node_modules/foundation-sites/dist/foundation.js'], ['javascript']);
   gulp.watch(['./src/assets/img/**/*'], ['images']);
   gulp.watch(['./src/templates/**/*'], ['jst']);
 });