{"bugs":{"url":"https://github.com/EthWorks/Waffle/issues"},"dist":{"shasum":"26282cd5fc3808e3963a82c66d19cf55eaf456c6","tarball":"https://registry.npmjs.org/@ethereum-waffle/compiler/-/compiler-4.0.3-dev.f3d5029.tgz","fileCount":204,"integrity":"sha512-jfifpvGdk0Oy+OCZ3RMt9QqQHfqPPhv9V0AYDs5vKffg2VbJWwS0ag5uTSHwQxd8f0idyJLlxlMkY504QcHw6g==","signatures":[{"sig":"MEQCIHP6rV1NWHioIxgzhscrIriV1o0I04Sz76qRWWqBqzW9AiBh+t0wFxzQJuGhe26Rug5ah04N8c3ILI6N361sRx2TJA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":282246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMsU+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozxA//fQ/nGmdk30xr6T0YyY3Xoz+qsq6GkMDoyrR7LdRGBHeFcYMu\r\n8cec5gPLkH2Ig1Nn94EAs9GAiyaO2YJOPu+O91NReLErh2oZnz93flc6ANc+\r\n8YV3uss8H1nPSUVJ5m+DU5J6ojvnrzxGbc3Iq06NN5fEoI0Ll2SGyzLEM2MX\r\nJFdsws+7K4ewVt/hQAw//XziVSJlA9c/DFwki58rLeEEGKwfc4HBXmkwpH/M\r\nKlqvDLdAZrtrc3EJGWDTqGkfsf4ujwDAEpbDfuVZCBaXScaqg1G1hh73Zpzn\r\n4FoKWykQTELBJYpj6ja0jiXno1xxgi8Gi7ofcToPpXkIT9/Mft/9HClcU5mh\r\nbbOgCBRS686sngKODJBL92EOiR9IS2os1lstMGxyuhm+oUteKY+R5isb8hhO\r\noWMx+/7FroYK+jug0sNwZcleEeQOE0ywKqCdHENqMg/MAvFoi7VZF8KUBFrh\r\n9jECIm64GvNQ07Zxy+Ty8d2jetVRIBQUmwVngGELFi2F+yTUPtRN6cHUhzxE\r\n5wLGRvViy8C+HhcjU4I0tfFg2FdpKCXzZmzYFYMCJb7u8+T5xu0y7GsQpOom\r\nUWRkA3dQA8VbPJrBxrXM4SnzLgbP59KjqrjbgoiINxfDxodH0f3AhV5BekwG\r\n35c+Wbms35/4EEdnMrKODJND6d/OeWHQP/Y=\r\n=6Isd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/src/index.js","name":"@ethereum-waffle/compiler","_from":"file:ethereum-waffle-compiler-4.0.3-dev.f3d5029.tgz","types":"dist/esm/src/index.d.ts","author":{"url":"http://ethworks.io","name":"Marek Kirejczyk","email":"account@ethworks.io"},"module":"dist/esm/src/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","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/7661d0d3add251acceee7cebeb81b008/ethereum-waffle-compiler-4.0.3-dev.f3d5029.tgz","_integrity":"sha512-jfifpvGdk0Oy+OCZ3RMt9QqQHfqPPhv9V0AYDs5vKffg2VbJWwS0ag5uTSHwQxd8f0idyJLlxlMkY504QcHw6g==","repository":{"url":"git+ssh://git@github.com/EthWorks/Waffle.git","type":"git"},"_npmVersion":"8.15.0","description":"Compile solidity without the hassle.","directories":{},"maintainers":[{"name":"ethworks","email":"code@trusttoken.com"}],"_nodeVersion":"16.17.0","dependencies":{"mkdirp":"^0.5.1","node-fetch":"^2.6.7","@types/mkdirp":"^0.5.2","@types/node-fetch":"^2.6.1","@typechain/ethers-v5":"^10.0.0","@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.8.15","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.8-dev.f3d5029","openzeppelin-solidity":"2.3.0","@openzeppelin/contracts":"3.0.1","@ethereum-waffle/provider":"4.0.5-dev.f3d5029"},"peerDependencies":{"solc":"*","ethers":"*","typechain":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/compiler_4.0.3-dev.f3d5029_1664271678404_0.30070215923597243","host":"s3://npm-registry-packages"},"_id":"@ethereum-waffle/compiler@4.0.3-dev.f3d5029","version":"4.0.3-dev.f3d5029"}