diff --git a/README.md b/README.md index 88e9f0a..7a2d2fc 100644 --- a/README.md +++ b/README.md @@ -163,12 +163,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 b36d14b..6f1f95e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "Wow, such a beautiful html5 music player", "main": "dist/APlayer.min.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",