4 Commits

Author SHA1 Message Date
2a3c021737 1.0.3 2019-08-04 14:52:06 +02:00
c4c95d9b38 Move package to "kosmos" org 2019-08-04 14:51:38 +02:00
2d08cc929f Merge branch 'bugfix/broken_executable' of kosmos/kredits-ipfs-pinner into master 2019-08-04 12:51:03 +00:00
5d36ca05a5 Fix executable not working
Need to tell the system it's dealing with a node script. This fixes both
the installed `kredits-ipfs-pinner` command as well as npx (which is
also running that command).
2019-08-04 14:47:57 +02:00
4 changed files with 7 additions and 6 deletions

View File

@@ -9,11 +9,11 @@ config flags, in case it is not running on localhost with default ports.)
### With NPX magic
npx @67p/kredits-ipfs-pinner
npx @kosmos/kredits-ipfs-pinner
### Global install
npm install -g @67p/kredits-ipfs-pinner
npm install -g @kosmos/kredits-ipfs-pinner
kredits-ipfs-pinner
### From repo

View File

@@ -1,4 +1,5 @@
const debug = require('debug')('ipfs-pinner');
#!/usr/bin/env node
const Kredits = require('kredits-contracts');
const IpfsPinner = require('./lib/ipfs-pinner');

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "@67p/kredits-ipfs-pinner",
"version": "1.0.2",
"version": "1.0.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "@67p/kredits-ipfs-pinner",
"version": "1.0.2",
"name": "@kosmos/kredits-ipfs-pinner",
"version": "1.0.3",
"description": "Pins IPFS data of a Kredits organization on an IPFS node",
"main": "index.js",
"scripts": {