mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 16:55:16 +08:00
Share bower components between forum/admin
This commit is contained in:
parent
56ef42f931
commit
342c8db5bd
1
js/.gitignore
vendored
Normal file
1
js/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
bower_components
|
1
js/admin/.gitignore
vendored
1
js/admin/.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
bower_components
|
||||
node_modules
|
||||
mithril.js
|
||||
dist
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
"name": "flarum-forum",
|
||||
"devDependencies": {
|
||||
"gulp": "^3.8.11",
|
||||
"gulp-babel": "^5.1.0",
|
||||
|
|
|
@ -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
1
js/forum/.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
bower_components
|
||||
node_modules
|
||||
mithril.js
|
||||
dist
|
||||
|
|
|
@ -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 = [
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
"name": "flarum-forum",
|
||||
"devDependencies": {
|
||||
"gulp": "^3.8.11",
|
||||
"gulp-babel": "^5.1.0",
|
||||
|
|
Loading…
Reference in New Issue
Block a user