{"bugs":{"url":"https://github.com/EthWorks/Waffle/issues"},"dist":{"shasum":"3ea3efbf2854729fd83ba5013d915a409794623d","tarball":"https://registry.npmjs.org/@ethereum-waffle/compiler/-/compiler-4.0.3-dev.4d27a34.tgz","fileCount":204,"integrity":"sha512-edxbWLEMXbDzUz22QbICiw/wsO1KEWHjQRQC2AXuyD7/7Pl6Te9tSoHp+gM6S3RE45WxJvrtieahy5GAZlJzQw==","signatures":[{"sig":"MEUCIQDurbnkMcdw2ynELYhhytA6SoctILd9OF+eynkvky2a4AIgFBHa7+aHlrxPS6224qQQE9BRK4RPTOwJoQGRcYzQ9i4=","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\nwsFzBAEBCAAGBQJjzqcHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMkg/9EcZzxaMA5Qajsl9HdTrKxxe+1+Ky8jk7aPl6+XP6apb2wWrc\r\nGZSa/vt3JMjDpTTWprXDPFLMlYLEhwnSs09XutUy6jwrHXeo7W4Dy5bs+tJa\r\n10Wty9uMpllX9eYiYNHhT+AFoqsbmD7Eh66XqjLAZbm2s5q17yNVlR9NOHGo\r\nWGHjaAWdDibriE/uN4WD9ZxQ/45lVZKblaIEMlRCeTIh4WFlUj53U1snHUKg\r\n7ewEXz8fw3/5WYRAYFKzfd7g77froqV0m1WbdPWGERegdnqkOGMq232a9thY\r\nkBpdFkuxrUG4yXkWHIuO12uBPloZEFxjlCKwAqSYAGMqV7GvW12rHbVQZLuB\r\naWDLVZDy7i6uB88p84xma/xtmRLNsGY3pQwhZn3MflWmmYTrlw1s7SEQMkue\r\nVG/Pgkm/Yy9YEQF2BDzGFlRE//5rOC0JZZw7xDzNJnJQoat3heGY0vgu+/NB\r\nYxfCgjltCwOi+zpw5ZXICUVYgMgyhSRvNG/siJq0Ef4LziX7y/2950G1H7P4\r\ntuJe875fc+7lRkvKDCWtm3qBQZN+B9hE+XojTWXs35nxgoROPcu62bR9DgG6\r\n3CR8loktepJpNeoBj6y5Qr3ApXoDP2PAhw3TDxRaKX6xps+we4Nh3vcs+7bM\r\nXMFl2sQsU9TxFAmfNdoZqNDwqF6FWdjys0s=\r\n=eO5b\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.4d27a34.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/c2846a45409e027525b2ed6760432983/ethereum-waffle-compiler-4.0.3-dev.4d27a34.tgz","_integrity":"sha512-edxbWLEMXbDzUz22QbICiw/wsO1KEWHjQRQC2AXuyD7/7Pl6Te9tSoHp+gM6S3RE45WxJvrtieahy5GAZlJzQw==","repository":{"url":"git+ssh://git@github.com/EthWorks/Waffle.git","type":"git"},"_npmVersion":"8.19.3","description":"Compile solidity without the hassle.","directories":{},"maintainers":[{"name":"ethworks","email":"code@trusttoken.com"}],"_nodeVersion":"16.19.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.4d27a34","openzeppelin-solidity":"2.3.0","@openzeppelin/contracts":"3.0.1","@ethereum-waffle/provider":"4.0.5-dev.4d27a34"},"peerDependencies":{"solc":"*","ethers":"*","typechain":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/compiler_4.0.3-dev.4d27a34_1674487559259_0.3586788111215533","host":"s3://npm-registry-packages"},"_id":"@ethereum-waffle/compiler@4.0.3-dev.4d27a34","version":"4.0.3-dev.4d27a34"}