improve using gulp

This commit is contained in:
Micooz 2016-01-15 22:18:08 +08:00
parent 891bc412ff
commit 368ff53fc3
2 changed files with 11 additions and 4 deletions

View File

@ -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

View File

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