Share bower components between forum/admin

This commit is contained in:
Toby Zerner 2015-05-05 09:16:34 +09:30
parent 56ef42f931
commit 342c8db5bd
9 changed files with 17 additions and 34 deletions

1
js/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
bower_components

1
js/admin/.gitignore vendored
View File

@ -1,4 +1,3 @@
bower_components
node_modules
mithril.js
dist

View File

@ -10,13 +10,13 @@ var cached = require('gulp-cached');
var remember = require('gulp-remember');
var vendorFiles = [
'./bower_components/loader.js/loader.js',
'./bower_components/mithril/mithril.js',
'./bower_components/jquery/dist/jquery.js',
'./bower_components/moment/moment.js',
'./bower_components/bootstrap/dist/js/bootstrap.js',
'./bower_components/spin.js/spin.js',
'./bower_components/spin.js/jquery.spin.js'
'../bower_components/loader.js/loader.js',
'../bower_components/mithril/mithril.js',
'../bower_components/jquery/dist/jquery.js',
'../bower_components/moment/moment.js',
'../bower_components/bootstrap/dist/js/bootstrap.js',
'../bower_components/spin.js/spin.js',
'../bower_components/spin.js/jquery.spin.js'
];
var moduleFiles = [

View File

@ -1,13 +0,0 @@
{
"name": "flarum-forum",
"dependencies": {
"jquery": "2.1.3",
"jquery.hotkeys": "jeresig/jquery.hotkeys#0.2.0",
"bootstrap": "~3.3.2",
"spin.js": "~2.0.1",
"moment": "~2.8.4",
"color-thief": "v2.0",
"mithril": "lhorie/mithril.js#components",
"loader.js": "~3.2.1"
}
}

View File

@ -1,5 +1,4 @@
{
"name": "flarum-forum",
"devDependencies": {
"gulp": "^3.8.11",
"gulp-babel": "^5.1.0",

View File

@ -1,5 +1,4 @@
{
"name": "flarum-forum",
"dependencies": {
"jquery": "2.1.3",
"jquery.hotkeys": "jeresig/jquery.hotkeys#0.2.0",

1
js/forum/.gitignore vendored
View File

@ -1,4 +1,3 @@
bower_components
node_modules
mithril.js
dist

View File

@ -10,15 +10,15 @@ var cached = require('gulp-cached');
var remember = require('gulp-remember');
var vendorFiles = [
'./bower_components/loader.js/loader.js',
'./bower_components/mithril/mithril.js',
'./bower_components/jquery/dist/jquery.js',
'./bower_components/jquery.hotkeys/jquery.hotkeys.js',
'./bower_components/color-thief/js/color-thief.js',
'./bower_components/moment/moment.js',
'./bower_components/bootstrap/dist/js/bootstrap.js',
'./bower_components/spin.js/spin.js',
'./bower_components/spin.js/jquery.spin.js'
'../bower_components/loader.js/loader.js',
'../bower_components/mithril/mithril.js',
'../bower_components/jquery/dist/jquery.js',
'../bower_components/jquery.hotkeys/jquery.hotkeys.js',
'../bower_components/color-thief/js/color-thief.js',
'../bower_components/moment/moment.js',
'../bower_components/bootstrap/dist/js/bootstrap.js',
'../bower_components/spin.js/spin.js',
'../bower_components/spin.js/jquery.spin.js'
];
var moduleFiles = [

View File

@ -1,5 +1,4 @@
{
"name": "flarum-forum",
"devDependencies": {
"gulp": "^3.8.11",
"gulp-babel": "^5.1.0",