Skip to content

Commit

Permalink
fix: revert publish with "main" using ipjs@3 (#65)
Browse files Browse the repository at this point in the history
Ref: #64 (comment)

Removing `npx` from the workflow while I'm at it. This can be added back in if
anyone objects but I'm not a big fan of `npx` for common-path scripts.
  • Loading branch information
rvagg authored Mar 8, 2021
1 parent 309eb22 commit db774dc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"type": "module",
"scripts": {
"build": "npm run build:js && npm run build:types",
"build:js": "npm_config_yes=true npx ipjs@latest build --tests",
"build:js": "npm_config_yes=true ipjs build --tests",
"build:types": "tsc --emitDeclarationOnly --declarationDir dist/types",
"build:vendor": "npm run build:vendor:varint && npm run build:vendor:base-x",
"build:vendor:varint": "npx brrp -x varint > vendor/varint.js",
"build:vendor:base-x": "npx brrp -x @multiformats/base-x > vendor/base-x.js",
"publish": "npm_config_yes=true npx ipjs@latest publish",
"publish": "npm_config_yes=true ipjs publish",
"lint": "standard",
"check": "tsc --noEmit --noErrorTruncation",
"test:cjs": "npm run build:js && mocha dist/cjs/node-test/test-*.js && npm run test:cjs:browser",
Expand Down Expand Up @@ -89,6 +89,7 @@
"@typescript-eslint/parser": "^4.6.0",
"c8": "^7.3.5",
"hundreds": "0.0.9",
"ipjs": "^3.4.4",
"mocha": "^8.2.0",
"polendina": "^1.1.0",
"standard": "^15.0.0",
Expand Down Expand Up @@ -123,4 +124,4 @@
]
}
}
}
}

0 comments on commit db774dc

Please sign in to comment.