Skip to content

Commit

Permalink
export paths
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed May 26, 2024
1 parent 8b2539e commit 4cd0619
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
"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"
}
},
"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 .",
Expand Down

0 comments on commit 4cd0619

Please sign in to comment.