Skip to content

Commit 51db254

Browse files
committed
feat: Add ipfs-deploy executable
1 parent 57ffef8 commit 51db254

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

bin/ipfs-deploy.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/usr/bin/env node
2+
3+
const deploy = require('../index')
4+
5+
deploy()

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
"access": "public"
2626
},
2727
"main": "index.js",
28+
"bin": {
29+
"ipfs-deploy": "bin/ipfs-deploy.js"
30+
},
2831
"dependencies": {
2932
"@pinata/sdk": "^1.0.16",
3033
"clipboardy": "^1.2.3",
@@ -77,7 +80,6 @@
7780
]
7881
},
7982
"sgc": {
80-
"emoji": true,
8183
"lowercaseTypes": true
8284
}
8385
}

0 commit comments

Comments
 (0)