From bb6fb8e105f05e8f16ae0ad44fcd439ffc65c404 Mon Sep 17 00:00:00 2001 From: Alain Nicolas Date: Sat, 20 Apr 2024 17:30:17 +0200 Subject: [PATCH] feat: As a developer, I want to import the Verax contracts via NPM in my project --- contracts/package.json | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/contracts/package.json b/contracts/package.json index 25b12a1f..2ac4861c 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -1,13 +1,14 @@ { - "name": "linea-attestation-registry-contracts", - "version": "0.0.1", + "name": "@verax-attestation-registry/verax-contracts", + "version": "0.0.2", "description": "Verax Attestation Registry core smart contracts", "keywords": [ - "linea-attestation-registry", + "verax", "blockchain", "attestation", "ethereum", "foundry", + "hardhat", "smart-contracts", "solidity" ], @@ -15,18 +16,21 @@ "license": "MIT", "author": "Consensys", "files": [ - "src" + "src/**/*.sol", + "!src/examples/**/*" ], "scripts": { "build": "forge build", "check:implementations": "npx hardhat run script/upgrade/checkImplementations.ts", "check:upgradeability": "npx hardhat run script/upgrade/checkUpgradeability.ts --network", - "clean": "rm -rf lcov.info coverage artifacts cache_hardhat cache out typechain-types", + "clean": "rm -rf lcov.info coverage artifacts cache_forge cache_hardhat cache out typechain-types", "deploy": "npx hardhat run script/deploy/deployEverything.ts --network", "deploy:issuers": "npx hardhat run script/deploy/deployIssuers.ts --network", "deploy:post": "npx hardhat run script/deploy/postDeployment.ts --network", "deploy:stdlib": "npx hardhat run script/deploy/deployStdLib.ts --network", "lint": "pnpm solhint \"{script,src,test}/**/*.sol\" -c .solhint.json", + "publish:dry-run": "pnpm publish --dry-run --no-git-checks", + "publish:public": "pnpm publish --access public --no-git-checks", "reimport": "npx hardhat run script/recreateNetworkFile.ts --network", "test": "forge test", "test:coverage": "forge coverage --report lcov && genhtml lcov.info -o coverage/html",