From 8b2539ebc373272ed6ba756cf2090ebd1730ad1f Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Fri, 24 May 2024 14:45:52 +0300 Subject: [PATCH] modify build script to move packages from dist/packages to dist/ --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ec31b9b8..5e5a3f0f 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "scripts": { "prebuild": "rimraf dist", - "build": "npx hardhat clean && npx cpx './packages/tasks/templates/**/*' ./dist/tasks/templates && npx hardhat compile --force && tsc && npx cpx './typechain-types/**/*' ./dist/typechain-types", + "build": "npx hardhat clean && npx cpx './packages/tasks/templates/**/*' ./dist/tasks/templates && npx hardhat compile --force && tsc && npx cpx 'dist/packages/*/**' dist && rimraf dist/packages && npx cpx './typechain-types/**/*' ./dist/typechain-types", "lint:fix": "npm run lint:js:fix && npm run lint:sol:fix", "lint:js:fix": "eslint --ext .js,.ts . --fix", "lint:js": "eslint --ext .js,.ts .",