Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
EBI-Corporatesite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
ebiwd
EBI-Corporatesite
Commits
719047b3
Commit
719047b3
authored
Nov 10, 2020
by
Peter Walter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use yarn instead of gulp to avoid global install, update README
parent
ebabdf3e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4438 additions
and
4 deletions
+4438
-4
README.md
README.md
+3
-4
package.json
package.json
+2
-0
yarn.lock
yarn.lock
+4433
-0
No files found.
README.md
View file @
719047b3
...
...
@@ -63,7 +63,7 @@ More radical changes should be done on a feature branch.
Serve non-optimised
`./src/`
files from your dev environment:
-
`
gulp
dev`
-
`
yarn
dev`
## Optimising the pages
...
...
@@ -73,9 +73,8 @@ NOTE: Only developers would have the need do this.
1.
Clone the repo
2.
If you're using npm:
-
Install the npm instance:
`npm install`
-
Install gulp:
`npm install -g gulp`
-
Run the default gulp script:
`gulp`
-
Install the npm instance:
`yarn install`
-
Run the default gulp script:
`yarn build`
3.
If you're using Docker:
-
`docker run -it --rm -v $PWD:/workspace -w /workspace simonvanderveldt/node-bower-gulp:6 bash -c 'npm install --quiet && gulp'`
...
...
package.json
View file @
719047b3
...
...
@@ -4,6 +4,8 @@
"description"
:
"Static pages for the main www.ebi.ac.uk site"
,
"main"
:
"index.js"
,
"scripts"
:
{
"dev"
:
"gulp dev"
,
"build"
:
"gulp"
,
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
},
"repository"
:
{
...
...
yarn.lock
0 → 100644
View file @
719047b3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment