{"bugs":{"url":"https://github.com/EthWorks/Waffle/issues"},"dist":{"shasum":"23047a62f647b393fb4fde9c9a71aeeab5da0a1e","tarball":"https://registry.npmjs.org/@ethereum-waffle/compiler/-/compiler-4.0.0-alpha.18.tgz","fileCount":72,"integrity":"sha512-agD9L34B+OVKYkEc2KdazGvFPeiej/nda40zrHrhbrjPaCLX5T9rWg6yyRFuzmhx1E/F10HAEpHNnbT4ot0CcA==","signatures":[{"sig":"MEYCIQC4pTPcVDxYfaExo70dlQ0BaypHkN2JwuWfI5temfWwkAIhAJnNPzJqDGuMjD6XWm7D+IIwu3+H1o7vgZY1WNfoNy42","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\nwsFzBAEBCAAGBQJiVqLxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoaFg//XwmQCd2g8DDoytHrcMohe1Phah6uspyKA+VbXWRZBdgEIn33\r\nCyOkBZ9zPLeRXTKO3ADpQENqOj0nitetrzMZT/1coPffuKS6ojk4OT8W4aMH\r\nf7K6JDJOecsH2aAhYA5btepdXV/MOjzC12XPc+jWnC7KlYprIJL3sStMLGXL\r\nGV0ZypfFRuJrAm5ONcX4KCu+oWV2ZTXmV+G6mSnwbonLeD5oAYHUAmw+hPby\r\nb0q17L8bCaMoRGst9Wte4+yFRUi4Q4Fah5uwihMb7sLSKMcPlcqypUzsJdo5\r\n7cj4vdYOVOwZa7XO7fACNE9QIgn3CPkqrz1DJZQGusaE3p6f3DCNsY6aPrw5\r\nmdRQDr/+cBVGBisFGGFNSCfXMEfBLsaYcebM+nX0EyUmD/V17lmPG8onZO18\r\nQwkD285Pfp8QkGeCl0hU7Z+74EfTQE0ub3tjLBdmCKswvYeW9s/z1JzUBoy5\r\nKAlURqVrI/ROc/1ClWyNJ/vIkYvFZdqcRYwZoGioP+xyW8MtgSP+aMSSEG1f\r\n/lcloU/b2dsYAqRfbogme7bWF5DG/w+qrMKywre74iNxYmEyj7S5X1mNj1/q\r\nqdel/y8CBzLYuG1gSn2G9VVAI07gRxF0mRYUYw1txlvrgKJi2d39L6aJsvlm\r\nQ6jF2ncFzr42d7fZbmpORStzy7UE+IXkUtk=\r\n=miB1\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":"bb64c0ab085262441f4106111a6a051e44459f49","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.18_1649844977408_0.9664475003325095","host":"s3://npm-registry-packages"},"_id":"@ethereum-waffle/compiler@4.0.0-alpha.18","version":"4.0.0-alpha.18"}