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

Commit 16b1024

Browse files
author
Antonio Tenorio Fornés
committed
added prepublish instruction with babel and build tasks; changed main file to transpiled one
1 parent c3918b8 commit 16b1024

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ipfs-api",
33
"version": "16.0.0",
44
"description": "A client library for the IPFS HTTP API. Follows interface-ipfs-core spec",
5-
"main": "src/index.js",
5+
"main": "lib/index.js",
66
"browser": {
77
"glob": false,
88
"fs": false,
@@ -14,6 +14,7 @@
1414
"test:node": "aegir test -t node ",
1515
"test:browser": "aegir test -t browser",
1616
"lint": "aegir lint",
17+
"prepare": "babel src -d lib; aegir build",
1718
"build": "aegir build",
1819
"release": "aegir release ",
1920
"release-minor": "aegir release --type minor ",
@@ -61,6 +62,8 @@
6162
},
6263
"devDependencies": {
6364
"aegir": "^12.1.3",
65+
"babel-cli": "^6.26.0",
66+
"babel-preset-env": "^1.6.1",
6467
"chai": "^4.1.2",
6568
"dirty-chai": "^2.0.1",
6669
"eslint-plugin-react": "^7.4.0",

0 commit comments

Comments
 (0)