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",