{"bugs":{"url":"https://github.com/EthWorks/Waffle/issues"},"dist":{"shasum":"592cdccf36ddd9d12c9c194741b530100f35ac2b","tarball":"https://registry.npmjs.org/@ethereum-waffle/compiler/-/compiler-4.0.0-dev.5587e09.tgz","fileCount":92,"integrity":"sha512-UCWNjDJVo5Z3480FOfVf1fTuYkQEOIpKfv3uNvh02z26zZeeffF9AjDsAHeSPuUkstKJSe/tewxu0bym0eL5yQ==","signatures":[{"sig":"MEUCIBvUqHxJXdbnrBYYNvg1+hFxZ+po3m6W613KWm0NmzzEAiEAsN4QFnoaaDdFJkonHAavuyuEN6bYBdvTOIWoGfym/lM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":106129,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi1oJiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo6kA//UGyY8ZaxVlOG3j0m21fEgGHDcU3BYCtxPTW6uzWzwOHSH6ig\r\nRxRH8I5PDxdnLjUxyf5InxAel+8vn0Ov54fkeEYHHyzNecacBnV8oZ6Vyyjm\r\n6xtVvHeEGf8Ug1yO/TqyxWIat7ab3S+q+MXdJxvQh95S9+5jy2aNkipsLajT\r\nSCMIOfSxkZux24bIkoWQ5jSKO9AMgZlHzUbdCBCfkRjpegL3pLYUj5TkdzSO\r\neoUwsXt3e8l2NiK5GeEBx1ktWVV81eRVYj4Wgp/pXf/tj/J36lRpa6sBJLlY\r\n5a1MV2IFVFx0YltQStekmzWx2yMp2VCPpuBn2+6y2Ah67E6FBlN+frKKOvPY\r\nzH7KZ6m/HBDE0DI6Zugh1HXk9sQjAS/YPC2ReFx7CTCDRrfSkH+ANMzBz7r0\r\nY1dEHKVTd17QEnI5J99p9p0VZ+hd2lfAjEIwK5Xhi9JLyVvZW/enJp48Igic\r\nvZjpnfSvd3s0Qch9hToVi/2w+4L6HulogiVE8kUMq1wHQ/wyeuy/FA80UH9w\r\niHbDiA9e6xi7xq4nkfSxsOMixcljnYFtAlfO40FMyKTVO51b0nGp7PwokEsV\r\nYEq6HZq0t9xBuG2DHv7rOq8Zf1tFvkf9wsY7tP10TpPR5DLSASDsy5ilFhBQ\r\nkIxb+gp8D2U/ZNYVqK9crmCrlWKX9gtS1s8=\r\n=tuj0\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.5587e09.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":"code@trusttoken.com"},"homepage":"https://github.com/EthWorks/Waffle","keywords":["ethereum","smart-contracts","solidity","compiler","javascript","typescript","library"],"_resolved":"/tmp/0732bf695d94a7f0a3937957b5aea1c9/ethereum-waffle-compiler-4.0.0-dev.5587e09.tgz","_integrity":"sha512-UCWNjDJVo5Z3480FOfVf1fTuYkQEOIpKfv3uNvh02z26zZeeffF9AjDsAHeSPuUkstKJSe/tewxu0bym0eL5yQ==","repository":{"url":"git+ssh://git@github.com/EthWorks/Waffle.git","type":"git"},"_npmVersion":"8.11.0","description":"Compile solidity without the hassle.","directories":{},"maintainers":[{"name":"ethworks","email":"code@trusttoken.com"}],"_nodeVersion":"16.16.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,"readmeFilename":"README.md","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.5587e09","openzeppelin-solidity":"2.3.0","@openzeppelin/contracts":"3.0.1","@ethereum-waffle/provider":"4.0.0-dev.5587e09"},"peerDependencies":{"solc":"*","ethers":"5.6.2","typechain":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/compiler_4.0.0-dev.5587e09_1658225250432_0.45842444449063735","host":"s3://npm-registry-packages"},"_id":"@ethereum-waffle/compiler@4.0.0-dev.5587e09","version":"4.0.0-dev.5587e09"}