From d2f38d4ea93e2ff685c062e45810aaf1e05a01ab Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Fri, 26 Jul 2024 13:23:13 +0200 Subject: [PATCH] added missing postinstall --- package.json | 3 ++- src/polkadot/fellows.ts | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 76e396e..7878431 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "cli": "ncc build src/cli.ts -o dist-cli && node dist-cli", "test": "jest", "fix": "npx eslint --fix 'src/**/*.ts' && npx prettier --write 'src/**/*.{ts,yml}'", - "lint": "npx eslint 'src/**/*.ts' && npx prettier --check 'src/**/*.{ts,yml}'" + "lint": "npx eslint 'src/**/*.ts' && npx prettier --check 'src/**/*.{ts,yml}'", + "postinstall": "papi" }, "engines": { "node": ">=22.0.0" diff --git a/src/polkadot/fellows.ts b/src/polkadot/fellows.ts index 8865b97..0975657 100644 --- a/src/polkadot/fellows.ts +++ b/src/polkadot/fellows.ts @@ -1,5 +1,3 @@ -/* eslint-disable @typescript-eslint/ban-ts-comment */ -import { ApiPromise, WsProvider } from "@polkadot/api"; import { collectives, people } from "@polkadot-api/descriptors"; import { createClient, SS58String } from "polkadot-api"; import { chainSpec as polkadotChainSpec } from "polkadot-api/chains/polkadot";