Commit 719047b3 authored by Peter Walter's avatar Peter Walter

use yarn instead of gulp to avoid global install, update README

parent ebabdf3e
......@@ -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'`
......
......@@ -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": {
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment