Skip to content

Commit 368ff53

Browse files
committed
improve using gulp
1 parent 891bc41 commit 368ff53

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,17 @@ music: [
156156
]
157157
```
158158

159-
## Development
159+
## Run in development
160160

161161
```
162162
$ npm install
163-
$ npm install -g gulp
164-
$ gulp
163+
$ npm run dev
164+
```
165+
166+
## Make a release
167+
168+
```
169+
$ npm run build
165170
```
166171

167172
## Related Projects

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "Wow, such a beautiful html5 music player",
55
"main": "APlayer.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"dev": "gulp",
9+
"build": "gulp release"
810
},
911
"repository": {
1012
"type": "git",

0 commit comments

Comments
 (0)