Merge pull request #12 from micooz/improve-using-gulp
improve using gulp
This commit is contained in:
commit
f8dace0e98
11
README.md
11
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
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue