Skip to content

Commit

Permalink
modify doc
Browse files Browse the repository at this point in the history
  • Loading branch information
duwen committed Sep 24, 2017
1 parent 96fe5a8 commit e9807df
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
language: node_js
node_js:
- node
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

![fly.js](https://github.com/wendux/fly/raw/master/1.png)

![fly.js](https://github.com/wendux/fly/raw/master/fly.png)
[![npm version](https://img.shields.io/npm/v/flyio.svg?style=flat-square)](https://www.npmjs.org/package/flyio)
[![build status](https://travis-ci.org/wendux/fly.svg?branch=master)](https://travis-ci.org/wendux/fly)
# 简介

Fly.js 是一个基于 promise 的,轻量且强大的Javascript http 网络库,它有如下特点:
Expand Down
6 changes: 3 additions & 3 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ var plugins=[];
if (env !== "dev") {
output.filename = "[name].min.js"
plugins.push(new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: true
},
// compress: {
// warnings: true
// },
sourceMap: true
}))
if(env==="umd") {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"scripts": {
"dev": "node build.js",
"build": "node build.js && node build.js build && node build.js umd",
"nodeTest": "node ./demon/nodeTest.js"
"nodeTest": "node ./demon/nodeTest.js",
"test":"npm run build"
},
"devDependencies": {
"babel-core": "^6.0.0",
Expand Down

0 comments on commit e9807df

Please sign in to comment.