From 2b5e000c5ab6e3ba726b04f9507a57e9dc7bfc4c Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Mon, 23 Jan 2023 12:01:43 +0100 Subject: [PATCH] fix pkg build (#162) --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d7417e2e..7219df4f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@acala-network/chopsticks", - "version": "0.3.4", + "version": "0.3.5", "main": "./dist/index.js", "types": "./dist/index.d.ts", "author": "Bryan Chen ", @@ -16,8 +16,7 @@ "fix": "eslint . --ext .js,.ts --fix && prettier -w .", "prepare": "husky install", "start": "ts-node --transpile-only src/index.ts", - "build": "rm -rf dist && tsc -p tsconfig.prod.json && yarn postbuild", - "postbuild": "cp -r template ./dist", + "build": "rm -rf dist && tsc -p tsconfig.prod.json", "build-wasm": "wasm-pack build executor --target nodejs --scope acala-network", "build-wasm-logging": "yarn build-wasm --features=logging", "check": "cd executor && cargo check --locked", @@ -75,6 +74,7 @@ "files": [ "dist", "bin", + "template", "chopsticks.mjs" ], "engines": {