diff --git a/package.json b/package.json index c28ec668..74290a53 100644 --- a/package.json +++ b/package.json @@ -11,11 +11,12 @@ "homepage": "https://github.com/stakewise/v3-sdk", "scripts": { "test": "jest --clearCache && jest --onlyChanged", - "prepare": "npm run typechain && npm run graphql && husky install", - "build": "npm run test && npm run prepare && rm -rf ./dist && npm run rollup", + "prepare": "npm run typechain && npm run graphql && npm run test && husky install", + "build": "npm run prepare && rm -rf ./dist && npm run rollup", "typechain": "typechain --target ethers-v6 --out-dir src/contracts/types 'src/contracts/abis/*.json'", "graphql": "graphql-codegen && ts-node -O '{\"module\": \"commonjs\"}' ./scripts/generateGraphqlExports", - "rollup": "rollup --config rollup.config.js --bundleConfigAsCjs" + "rollup": "rollup --config rollup.config.js --bundleConfigAsCjs", + "publsih": "npm run build && npm publish" }, "files": [ "dist/",