{"repo":"solidstate-network/hardhat-license-identifier","free":true,"listed":false,"github":"https://github.com/solidstate-network/hardhat-license-identifier","clone":"git clone https://github.com/solidstate-network/hardhat-license-identifier.git","description":"©️ Prepend local Solidity source files with an SPDX License Identifier 🔨","language":"TypeScript","stars":21,"topics":["buidler","spdx-license","spdx-licenses","solidity","solc","ethereum","wow","blockchain","hardhat"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Hardhat License Identifier Automatically prepend Solidity source files in Hardhat projects with an SPDX License Identifier. Versions of this plugin prior to 3.0.0 were released as hardhat-spdx-license-identifier , outside of the @solidstate namespace. Versions of this plugin prior to 2.0.0 were released as buidler-spdx-license-identifier . Installation Usage Load plugin in Hardhat config: Add configuration under the licenseIdentifier key: option description default -------------- ------------------------------------------------------------------------------------------------------ --------------------------------- license SPDX license to add to source files license field of package.json overwrite whether to overwrite existing SPDX license identifiers false runOnCompile whether to automatically prepend identifiers during compilation false only Array of String matchers used to select included paths, defaults to all contracts if length is 0 [] except Array of String matchers used to exclude paths [] The included Hardhat task may be run manually. Its arguments override any existing configuration: Files which do not contain a license identifier will be prepended with one. Files with a license identifier which does not match that which is specified in package.json may be updated, depending on configuration. Development Install dependencies via pnpm: Setup Husky to format code on commit:","default_branch":null,"files":null,"tree":[],"storefront":"/r/solidstate-network","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/solidstate-network/hardhat-license-identifier/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}