Comparing version 1.0.2 to 1.1.0
{ | ||
"name": "ufetch", | ||
"description": "A micro ajax http library based on fetch with a unified api for browsers and nodejs", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"repository": "https://github.com/Flux159/ufetch", | ||
@@ -14,6 +14,22 @@ "homepage": "http://flux159.github.io/ufetch/", | ||
], | ||
"scripts": { | ||
"build": "babel src/ufetch.js --out-file dist/ufetch.js && babel src/ufetchnode.js --out-file dist/ufetchnode.js" | ||
}, | ||
"browser": "./browserindex.js", | ||
"dependencies": { | ||
"isomorphic-fetch": "^2.2.1" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "6.11.4", | ||
"babel-core": "6.10.4", | ||
"babel-eslint": "6.0.2", | ||
"babel-loader": "6.2.4", | ||
"babel-plugin-syntax-flow": "6.3.13", | ||
"babel-plugin-transform-flow-strip-types": "6.4.0", | ||
"babel-plugin-transform-object-rest-spread": "6.6.5", | ||
"babel-plugin-transform-runtime": "^6.7.5", | ||
"babel-preset-es2015": "6.6.0", | ||
"babel-preset-react": "6.5.0", | ||
"babel-preset-stage-3": "6.5.0" | ||
} | ||
} |
@@ -7,2 +7,10 @@ # ufetch | ||
# Building | ||
Run the following command to build (after npm install): | ||
``` | ||
npm run build | ||
``` | ||
# TODO | ||
@@ -9,0 +17,0 @@ |
27289
12
784
44
11
8