published to npm, cleaned up publish script

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-01-10 07:18:33 +01:00
parent ba9b204bf5
commit d06091807b
2 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -2,5 +2,5 @@
set -e -o pipefail
yarn prepare && yarn publish
yarn clean && yarn build && cp package.json ./dist/ && yarn publish dist