From 4cd0619e30b4c2ff38e247763af318aa3c120797 Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Sun, 26 May 2024 08:55:50 +0300 Subject: [PATCH] export paths --- package.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 5e5a3f0..4babb4d 100644 --- a/package.json +++ b/package.json @@ -4,16 +4,16 @@ "description": "A library of ZetaChain helper utilities, contracts, and Hardhat tasks for smart-contract development", "main": "", "exports": { - "./tasks": "./dist/tasks/src/index.js", + "./tasks": "./dist/packages/tasks/src/index.js", "./client": { - "import": "./dist/client/src/index.js", - "require": "./dist/client/src/index.js", - "types": "./dist/client/src/index.d.ts" + "import": "./dist/packages/client/src/index.js", + "require": "./dist/packages/client/src/index.js", + "types": "./dist/packages/client/src/index.d.ts" }, "./test": { - "import": "./dist/test/src/index.js", - "require": "./dist/test/src/index.js", - "types": "./dist/test/src/index.d.ts" + "import": "./dist/packages/test/src/index.js", + "require": "./dist/packages/test/src/index.js", + "types": "./dist/packages/test/src/index.d.ts" }, "./typechain-types": { "types": "./dist/typechain-types/index.ts" @@ -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 'dist/packages/*/**' dist && rimraf dist/packages && 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 './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 .",