Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Babel #630

Closed
wants to merge 2 commits into from
Closed

Babel #630

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["env"]
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ipfs-api",
"version": "16.0.0",
"description": "A client library for the IPFS HTTP API. Follows interface-ipfs-core spec",
"main": "src/index.js",
"main": "lib/index.js",
"browser": {
"glob": false,
"fs": false,
Expand All @@ -14,6 +14,7 @@
"test:node": "aegir test -t node ",
"test:browser": "aegir test -t browser",
"lint": "aegir lint",
"prepare": "babel src -d lib; aegir build",
"build": "aegir build",
"release": "aegir release ",
"release-minor": "aegir release --type minor ",
Expand Down Expand Up @@ -61,6 +62,8 @@
},
"devDependencies": {
"aegir": "^12.1.3",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"chai": "^4.1.2",
"dirty-chai": "^2.0.1",
"eslint-plugin-react": "^7.4.0",
Expand Down