{"bugs":{"url":"https://github.com/EthWorks/Waffle/issues"},"dist":{"shasum":"6138784c5ebe861d4e66936493198ba81bbadd9e","tarball":"https://registry.npmjs.org/@ethereum-waffle/compiler/-/compiler-4.0.0-alpha.10.tgz","fileCount":72,"integrity":"sha512-ekaZjRT+zj70dIEiPHWN41xNQ1n2/9Cbp/mjmtRzc8DXMWdOIMcEI9BDhPGazIc0De6NuS2UiPLd7VkHsGDUSg==","signatures":[{"sig":"MEQCIHvHp2KHC5faaLJV7Rw/g+twmb4qiqg+0mDJkuVH2gnNAiBF1URgLfGrll4qoao84KbpRi24Uf+Nx0bnR21M3/QvLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90598,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiUAjgACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrXXg/9GMM1nKyAGrQi/6/Nc2NdIYyjZ9QZGIRC5v82mJZ/0lkSGLq0\r\nM/XQEa3W4SXCM2PqxHHJdmkCp8Mjobg+CH5Uaqap/1U7vduJmJzH/e/SN3sd\r\nl8ps8fsfRdds3r8k6IWSX6G2Pf1StxoJTwUOJpjxKURJZ9a/2/GvKrjc//x6\r\n7iXZdg3TKidk3V0EyohmRjfJi4cNeimqXPxoi/ICJesmZIEMOTKi8W+xV3tX\r\nAqmVxbknUbYgtVK1P6LJ9kaXzoNZbvyHo5hmG3P+90dwlBjNLkALtPQ2Dl7N\r\ny2d/Tue5EppjDwidJG88hyB7VgajdCaF8K0qDUgmuOK4Uu+lBz2N9rX6gFJD\r\niwYXoL7S2Xd1wXPWYCOXLXQXi0UE8mKIbdnGW5wHXNWGLme5T4EaIF/k5Iae\r\n6pEDGfv9xE8hjvJ5ef13AsLkjVihO42iIfeHW5mV5vm+Z5weJ4MSzypo1oOk\r\n9zsGBoicwRQvFwxgQfMor/ZrVqoIaBvH3JIFYISnQkW7moD7BWCFByw8B5h/\r\nDU/E9+XZY8/0YJEBdP+LLEEpek9NTfhNHdDlZMYOiU69KoT/6RbmE6vgBwFq\r\nOfu8PG8++NCen1bodOTP0qSBI4ulZeyerpt5BJWc4vIoNOMF50R1rgcojtsd\r\n77oM+kHIRk2eP68dzGr4UEgb0c6tA+mqswQ=\r\n=1r3o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","name":"@ethereum-waffle/compiler","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"},"gitHead":"528e32b3e375eb66b2f111ad8c2d5da95d51c15b","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"],"repository":{"url":"git+ssh://git@github.com/EthWorks/Waffle.git","type":"git"},"_npmVersion":"8.5.0","description":"Compile solidity without the hassle.","directories":{},"maintainers":[{"name":"ethworks","email":"account@ethworks.io"}],"_nodeVersion":"16.14.2","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.0","@ethersproject/bytes":"^5.6.0","@typechain/ethers-v5":"^10.0.0","@ethersproject/providers":"^5.6.1","@resolver-engine/imports":"^0.3.3","@resolver-engine/imports-fs":"^0.3.3"},"publishConfig":{"tag":"alpha","access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"solc":"^0.6.3","ethers":"5.6.1","fs-extra":"^9.0.1","typechain":"^8.0.0","@types/fs-extra":"^9.0.4","@ethereum-waffle/chai":"workspace:*","openzeppelin-solidity":"2.3.0","@openzeppelin/contracts":"3.0.1","@ethereum-waffle/provider":"workspace:*"},"peerDependencies":{"solc":"*","ethers":"5.6.1","typechain":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/compiler_4.0.0-alpha.10_1649412320237_0.7264697653664054","host":"s3://npm-registry-packages"},"_id":"@ethereum-waffle/compiler@4.0.0-alpha.10","version":"4.0.0-alpha.10"}