diff --git a/package.json b/package.json index ec9c937..38cc5ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@blockworks-foundation/voter-stake-registry-client", - "version": "0.1.0", + "version": "0.1.1", "description": "Client for Voter-stake-registry which is a voter weight addin for Solana's spl-governance program.", "main": "lib/src/index.js", "types": "lib/src/index.d.ts", @@ -9,7 +9,6 @@ "build": "tsc", "postinstall": "tsc", "clean": "rm -rf dist", - "prepare": "yarn clean && yarn build && cp package.json dist/", "type-check": "tsc --pretty --noEmit", "format": "prettier --check .", "lint": "eslint . --ext ts --ext tsx --ext js --quiet" diff --git a/run-publish.sh b/run-publish.sh index 86c2942..a37a94a 100755 --- a/run-publish.sh +++ b/run-publish.sh @@ -2,5 +2,5 @@ set -e -o pipefail -yarn prepare && yarn publish +yarn clean && yarn build && cp package.json ./dist/ && yarn publish dist