forked from ExLibrisGroup/primo-explore-devenv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbc7d98
commit d91255f
Showing
65 changed files
with
9,032 additions
and
5,748 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
primo-explore/custom/ | ||
primo-explore/tmp/ | ||
|
||
!primo-explore/custom/.gitignore | ||
!primo-explore/tmp/.gitignore | ||
|
||
.idea/ | ||
.idea/ | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
BSD 3-Clause License | ||
|
||
Copyright (c) 2019, Ex Libris, Ltd. | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
BSD 3-Clause License | ||
Copyright (c) 2019, Ex Libris, Ltd. | ||
All rights reserved. | ||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
1. Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Ignore everything in this directory | ||
* | ||
# Except this file | ||
# Ignore everything in this directory | ||
* | ||
# Except this file | ||
!.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"primary": "#53738C", | ||
"secondary" : "#A9CDD6", | ||
"backgroundColor" : "white", | ||
"links": "#5C92BD", | ||
"warning": "tomato", | ||
"positive": "#0f7d00", | ||
"negative": "gray", | ||
"notice": "#e08303" | ||
{ | ||
"primary": "#53738C", | ||
"secondary" : "#A9CDD6", | ||
"backgroundColor" : "white", | ||
"links": "#5C92BD", | ||
"warning": "tomato", | ||
"positive": "#0f7d00", | ||
"negative": "gray", | ||
"notice": "#e08303" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
var browserSync = require('browser-sync'); | ||
|
||
|
||
module.exports = { | ||
closeServer: closeServer, | ||
reloadServer: reloadServer, | ||
streamToServer: streamToServer, | ||
startServer: startServer, | ||
}; | ||
|
||
function closeServer(label) { | ||
browserSync.get(label).exit(); | ||
} | ||
|
||
function reloadServer(label) { | ||
return browserSync.get('production').reload(); | ||
} | ||
|
||
function streamToServer() { | ||
return browserSync.get('production').stream(); | ||
} | ||
|
||
function startServer(args) { | ||
var label = args.label; | ||
var port = args.port; | ||
var baseDir = args.baseDir; | ||
var middleware = args.middleware; | ||
var open = args.open; | ||
|
||
var server = browserSync.create(label); | ||
var conf = { | ||
port: port, | ||
server: { | ||
baseDir: baseDir | ||
}, | ||
open:open | ||
}; | ||
if(middleware) { | ||
conf.middleware = args.middleware; | ||
} | ||
server.init(conf); | ||
|
||
var browserSync = require('browser-sync'); | ||
|
||
|
||
module.exports = { | ||
closeServer: closeServer, | ||
reloadServer: reloadServer, | ||
streamToServer: streamToServer, | ||
startServer: startServer, | ||
}; | ||
|
||
function closeServer(label) { | ||
browserSync.get(label).exit(); | ||
} | ||
|
||
function reloadServer(label) { | ||
return browserSync.get('production').reload(); | ||
} | ||
|
||
function streamToServer() { | ||
return browserSync.get('production').stream(); | ||
} | ||
|
||
function startServer(args) { | ||
var label = args.label; | ||
var port = args.port; | ||
var baseDir = args.baseDir; | ||
var middleware = args.middleware; | ||
var open = args.open; | ||
|
||
var server = browserSync.create(label); | ||
var conf = { | ||
port: port, | ||
server: { | ||
baseDir: baseDir | ||
}, | ||
open:open | ||
}; | ||
if(middleware) { | ||
conf.middleware = args.middleware; | ||
} | ||
server.init(conf); | ||
|
||
} |
Oops, something went wrong.