{"bugs":{"url":"https://github.com/EthWorks/Waffle/issues"},"dist":{"shasum":"3791ba5a78ab9592a53f8eb403ddf5c337712efb","tarball":"https://registry.npmjs.org/@ethereum-waffle/compiler/-/compiler-4.0.0-dev.ba7033f.tgz","fileCount":92,"integrity":"sha512-1AnZyhp4Gzk7zrex6H52L1UuQes1/V7Mt0FSWKPhzaytxST3xBfz/6BJhS/7QBng3YH1kr0S0Fc9d9GjagZ/vA==","signatures":[{"sig":"MEUCIDDq944Bf0/bCr9yaxxnC7gu2yaMdxtDZeL337t6efffAiEA2XN0m11Hvkimlw8RlrxR8zFz9hqMZ9LzVsoOT93keiA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":108019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJidOgjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqs2A/+IlxQaikF3xwr/FI90zezLokN+J+/nvWtCJg/KThVNrGKGFWt\r\nAFuzLMJ/P3G5SI5W90BbUe1s98D6q0asr7qDhPUHzphUEcZayzV9WkdH9Wlt\r\nHmqmk7unKVT3CrAoX6ZrEOLSKQjKhDDFuKbAxqtB4joSLG59/hy0KCyzXBP0\r\nzcL5mwoTgcsTfJTorLua7vazH96glSBJ72IkIaQ8aHhke2f3LZP4K/9I/B1N\r\nOB87VS8uLi3rzHXCx50ZV9ZI8wio7uhO1jwg+Ifzut7UULjPCbrk2e8hJY2z\r\n2P1G6LKbXHsGWqNU2zPs2HRBq54/sHeflWmdqWuravL4anAuU+xNdZaLWiFL\r\nA0LLJRb0rzlIUNLyke3HpTC55cNNVlg0cgs7pfAt5YiPdvwy4vRt/d08lvQt\r\nBGmixhMv/XgS2fyoSvppHB7T7pKoZwv1mmwrsfEq0pmTwBSKj4XlAsRQ6A5c\r\nsMqnfCcgqcFNd4hRuX8LnM6hh2UFAO0M6jOGimmuIS40QslflabbxU/6/sVX\r\n3hWb2OrHskPZ+jM/lSuGw2/h+qgNartcC+J0s40vlqoXr2OuCmkTzLTvARry\r\nye5Z0pyaONmkjx4iPM+w3jtUxepKQFmSovuo6MA8P8xdvCvhPjJNQ/35w/zB\r\nzrLhN/A504lCFQohqNOtQKvQVPWyBsUmKaw=\r\n=Qv31\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","name":"@ethereum-waffle/compiler","_from":"file:ethereum-waffle-compiler-4.0.0-dev.ba7033f.tgz","types":"dist/esm/index.d.ts","author":{"url":"http://ethworks.io","name":"Marek Kirejczyk","email":"account@ethworks.io"},"module":"dist/esm/index.ts","readme":"![CI](https://github.com/EthWorks/Waffle/workflows/CI/badge.svg)\n[![](https://img.shields.io/npm/v/@ethereum-waffle/compiler.svg)](https://www.npmjs.com/package/@ethereum-waffle/compiler)\n\n![Ethereum Waffle](https://raw.githubusercontent.com/EthWorks/Waffle/master/docs/source/logo.png)\n\n# @ethereum-waffle/compiler\n\nCompile solidity without the hassle.\n\n## Installation\n\nIn the current version of waffle (v2.x.x) you will install this package as a dependency of the main waffle package - `ethereum-waffle`.\n\n```\nyarn add --dev ethereum-waffle\nnpm install --save-dev ethereum-waffle\n```\n\nIf you want to use this package directly please install it via:\n```\nyarn add --dev @ethereum-waffle/compiler\nnpm install --save-dev @ethereum-waffle/compiler\n```\n\n## Feature overview\n\n**NOTE**: You do not need to use this package directly. You can install it through the main package (`ethereum-waffle`) and use the CLI instead.\n\n### Compilation\n\nThis package exposes programmatic api for compiling solidity smart contracts.\n\nYou can learn more about it [in the documentation](https://ethereum-waffle.readthedocs.io/en/latest/compilation.html).\n\nExamples:\n```ts\n// Compilation with a config file\nconst {compileProject} = require('@ethereum-waffle/compiler');\n\nmain();\nasync function main () {\n  await compileProject('path/to/waffle.json');\n}\n```\n\n```ts\n// Compilation with js config\nconst {compileAndSave, compile} = require('@ethereum-waffle/compiler');\n\nmain();\nasync function main () {\n  const config = { sourceDirectory: 'contracts', nodeModulesDirectory: 'node_modules' };\n\n  // compile and save the output\n  await compileAndSave(config);\n\n  // just compile\n  const output = await compile(config);\n  console.log(output);\n}\n```\n\n### Linking\n\nExample:\n```ts\nconst {link} = require('@ethereum-waffle/compiler');\n```\n","engines":{"node":">=10.0"},"license":"MIT","private":false,"scripts":{"lint":"eslint '{src,test}/**/*.ts'","test":"mocha","build":"rimraf ./dist && yarn build:esm && yarn build:cjs","lint:fix":"eslint --fix '{src,test}/**/*.ts'","build:cjs":"tsc -p tsconfig.build.json --outDir dist/cjs --declaration false","build:esm":"tsc -p tsconfig.build.json --outDir dist/esm --module ES6"},"_npmUser":{"name":"ethworks","email":"account@ethworks.io"},"homepage":"https://github.com/EthWorks/Waffle","keywords":["ethereum","smart-contracts","solidity","compiler","javascript","typescript","library"],"_resolved":"/home/runner/work/Waffle/Waffle/waffle-compiler/ethereum-waffle-compiler-4.0.0-dev.ba7033f.tgz","_integrity":"sha512-1AnZyhp4Gzk7zrex6H52L1UuQes1/V7Mt0FSWKPhzaytxST3xBfz/6BJhS/7QBng3YH1kr0S0Fc9d9GjagZ/vA==","repository":{"url":"git+ssh://git@github.com/EthWorks/Waffle.git","type":"git"},"_npmVersion":"8.5.5","description":"Compile solidity without the hassle.","directories":{},"maintainers":[{"name":"ethworks","email":"account@ethworks.io"}],"_nodeVersion":"16.15.0","dependencies":{"mkdirp":"^0.5.1","node-fetch":"^2.6.7","@types/mkdirp":"^0.5.2","@types/node-fetch":"^2.6.1","@ethersproject/abi":"^5.6.1","@ethersproject/bytes":"^5.6.1","@typechain/ethers-v5":"^10.0.0","@ethersproject/providers":"^5.6.2","@resolver-engine/imports":"^0.3.3","@resolver-engine/imports-fs":"^0.3.3"},"publishConfig":{"tag":"dev","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"solc":"^0.6.3","mocha":"^8.2.1","eslint":"^7.14.0","ethers":"5.6.2","rimraf":"^3.0.2","fs-extra":"^9.0.1","typechain":"^8.0.0","typescript":"^4.6.2","@types/fs-extra":"^9.0.4","@ethereum-waffle/chai":"4.0.0-dev.ba7033f","openzeppelin-solidity":"2.3.0","@openzeppelin/contracts":"3.0.1","@ethereum-waffle/provider":"4.0.0-dev.ba7033f"},"peerDependencies":{"solc":"*","ethers":"5.6.2","typechain":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/compiler_4.0.0-dev.ba7033f_1651828771745_0.6492703909135589","host":"s3://npm-registry-packages"},"_id":"@ethereum-waffle/compiler@4.0.0-dev.ba7033f","version":"4.0.0-dev.ba7033f"}