From 242a08c8e7ab3dee72771daa95cb6499d96550bc Mon Sep 17 00:00:00 2001 From: Will O'Beirne Date: Wed, 12 Jul 2017 18:14:30 -0400 Subject: [PATCH] Make scripts for the two gulp actions. Update readme to point to them. --- README.md | 4 ++-- package.json | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 60d3690f81..cbc4b46f58 100644 --- a/README.md +++ b/README.md @@ -98,8 +98,8 @@ If you want to help contribute, here's what you need to know to get it up and ru **Getting Started** - Start by running `npm install`. -- Run `gulp`. Gulp will then watch & compile everything and then watch for changes to the HTML, JS, or CSS. -- For distribution, run `gulp clean`. +- Run `npm run dev`. Gulp will then watch & compile everything and then watch for changes to the HTML, JS, or CSS. +- For distribution, run `npm run dist`. **Folder Structure** - `fonts` and `images` get moved into their respective folders. This isn't watched via gulp so if you add an image or font, you need to run `gulp` again. diff --git a/package.json b/package.json index bf3e349b60..757ec4ed88 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,10 @@ "main": "gulpfile.js", "author": "MyEtherWallet", "license": "ISC", + "scripts": { + "dev": "gulp", + "dist": "gulp clean" + }, "devDependencies": { "angular": "^1.6.2", "angular-animate": "^1.6.2",