Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
chore: fix paths and packages
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Jan 26, 2022
1 parent 2119650 commit 8844f86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/ipfs-interop.js
Expand Up @@ -4,7 +4,7 @@ import { spawn } from 'child_process'
import { dirname } from 'path'
import { fileURLToPath } from 'url'

const __dirname = dirname(fileURLToPath(import.meta.url))
const __dirname = dirname(dirname(fileURLToPath(import.meta.url)))

const proc = spawn('npm', ['test'].concat(process.argv.slice(2)), {
cwd: __dirname
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -143,7 +143,7 @@
"scripts": {
"clean": "rimraf /tmp/js-ipfs /tmp/go-ipfs ./go-libp2p-relay-daemon dist types",
"lint": "aegir lint",
"build": "aegir build --esm-tests && cp -R types dist && cp -R scripts dist && cp -R bin dist",
"build": "aegir build --esm-tests && cp -R types scripts bin test src dist && cp bin/package.json dist/src && cp bin/package.json dist/test",
"release": "semantic-release",
"postinstall": "cross-env node ./scripts/setup-libp2p-relay-daemon.js",
"pretest": "aegir build --esm-tests",
Expand Down

0 comments on commit 8844f86

Please sign in to comment.