Socket
Socket
Sign inDemoInstall

buidler-typechain

Package Overview
Dependencies
389
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

dist/src/config.d.ts

4

package.json
{
"name": "buidler-typechain",
"version": "0.0.2",
"version": "0.0.3",
"description": "Buidler TypeScript plugin boilerplate",

@@ -25,3 +25,3 @@ "repository": "github:rhlsthrm/buidler-typechain.git",

"files": [
"dist/src/",
"dist/",
"src/",

@@ -28,0 +28,0 @@ "LICENSE",

@@ -24,17 +24,7 @@ [![buidler](https://buidler.dev/buidler-plugin-badge.svg?1)](https://buidler.dev)

<_A description of each task added by this plugin. If it just overrides internal
tasks, this may not be needed_>
This plugin adds the _typechain_ task to Buidler:
```
output of npx buidler help example
Generate Typechain typings for compiled contracts
```
## Environment extensions
<_A description of each extension to the Buidler Runtime Environment_>
This plugin extends the Buidler Runtime Environment by adding an `example` field
whose type is `ExampleBuidlerRuntimeEnvironmentField`.
## Configuration

@@ -44,4 +34,3 @@

This plugin extends the `BuidlerConfig`'s `ProjectPaths` object with an optional
`newPath` field.
This plugin extends the `BuidlerConfig` optional `typechain` object. The object contains two fields, `outDir` and `target`. `outDir` is the output directory of the artifacts that TypeChain creates (defaults to `typechain`). `target` is one of the targets specified by the TypeChain [docs](https://github.com/ethereum-ts/TypeChain#cli) (defaults to `ethers`).

@@ -52,4 +41,5 @@ This is an example of how to set it:

module.exports = {
paths: {
newPath: "./new-path"
typechain: {
outDir: "src/types",
target: "web3-v1"
}

@@ -61,9 +51,4 @@ };

<_A description of how to use this plugin. How to use the tasks if there are any, etc._>
`npx buidler typechain` - Compiles and generates Typescript typings for your contracts.
There are no additional steps you need to take for this plugin to work.
Install it and access ethers through the Buidler Runtime Environment anywhere
you need it (tasks, scripts, tests, etc).
## TypeScript support

@@ -70,0 +55,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc