From b1261137e47c47207808269f1f018788ca10dd3e Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Thu, 19 Aug 2021 13:58:46 +0200 Subject: [PATCH] chore: apply suggestions from code review --- packages/ipfs-unixfs-exporter/package.json | 2 +- packages/ipfs-unixfs-importer/package.json | 2 +- packages/ipfs-unixfs/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ipfs-unixfs-exporter/package.json b/packages/ipfs-unixfs-exporter/package.json index 10b26a7f..ca857fd2 100644 --- a/packages/ipfs-unixfs-exporter/package.json +++ b/packages/ipfs-unixfs-exporter/package.json @@ -12,7 +12,7 @@ "prepare": "aegir build --no-bundle", "test": "aegir test", "build": "aegir build --esm-tests", - "postbuild": "npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'", + "prepack": "npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'", "clean": "rimraf ./dist", "lint": "aegir ts -p check && aegir lint", "coverage": "nyc -s npm run test -t node && nyc report --reporter=html", diff --git a/packages/ipfs-unixfs-importer/package.json b/packages/ipfs-unixfs-importer/package.json index aef546d8..c9bf4796 100644 --- a/packages/ipfs-unixfs-importer/package.json +++ b/packages/ipfs-unixfs-importer/package.json @@ -12,7 +12,7 @@ "prepare": "aegir build --no-bundle", "test": "aegir test", "build": "aegir build --esm-tests", - "postbuild": "npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'", + "prepack": "npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'", "clean": "rimraf ./dist", "lint": "aegir ts -p check && aegir lint", "coverage": "nyc -s npm run test -t node && nyc report --reporter=html", diff --git a/packages/ipfs-unixfs/package.json b/packages/ipfs-unixfs/package.json index 94a80ae6..b0d710e0 100644 --- a/packages/ipfs-unixfs/package.json +++ b/packages/ipfs-unixfs/package.json @@ -15,7 +15,7 @@ "prepare:types": "aegir build --no-bundle", "test": "aegir test", "build": "aegir build --esm-tests", - "postbuild": "npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'", + "prepack": "npx json -I -f dist/package.json -e this.types='\"src/index.d.ts\"'", "clean": "rimraf ./dist", "lint": "aegir ts -p check && aegir lint", "coverage": "nyc -s aegir test -t node && nyc report --reporter=html",