From d1f06023eb8da1aa0a956d392360ef14fd5f3f06 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 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/contracts/package.json b/contracts/package.json index 25b12a1f..7deee0a1 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,7 +16,8 @@ "license": "MIT", "author": "Consensys", "files": [ - "src" + "src/**/*.sol", + "!src/examples/**/*" ], "scripts": { "build": "forge build", @@ -27,6 +29,8 @@ "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",