Merge pull request #12 from micooz/improve-using-gulp

improve using gulp
This commit is contained in:
Wenjie Fan 2016-01-16 15:11:06 +08:00
commit f8dace0e98
2 changed files with 11 additions and 4 deletions

View File

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

View File

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