From 368ff53fc3e1b915d7993c526cf6f88f5e0bb164 Mon Sep 17 00:00:00 2001 From: Micooz Date: Fri, 15 Jan 2016 22:18:08 +0800 Subject: [PATCH] improve using gulp --- README.md | 11 ++++++++--- package.json | 4 +++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eabefe5..9a02a60 100644 --- a/README.md +++ b/README.md @@ -156,12 +156,17 @@ music: [ ] ``` -## Development +## Run in development ``` $ npm install -$ npm install -g gulp -$ gulp +$ npm run dev +``` + +## Make a release + +``` +$ npm run build ``` ## Related Projects diff --git a/package.json b/package.json index 3bcd98e..a5a6511 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "Wow, such a beautiful html5 music player", "main": "APlayer.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "dev": "gulp", + "build": "gulp release" }, "repository": { "type": "git",