@ethereumjs/config-tsc

1.1.1 • Public • Published

@ethereumjs/config-tsc

Common TypeScript configuration for EthereumJS libraries.

Tool: TypeScript

Supported Version: ^3.2.2

Exposed CLI commands:

  • ethereumjs-config-tsc
  • ethereumjs-config-build

Usage

Add tsconfig.json:

{
  "extends": "@ethereumjs/config-tsc",
  "include": ["src/**/*.ts", "test/**/*.ts"]
}

Add tsconfig.prod.json:

{
  "extends": "@ethereumjs/config-tsc",
  "compilerOptions": {
    "outDir": "./dist"
  },
  "include": ["src/**/*.ts"]
}

Use CLI commands above in package.json:

  "scripts": {
    "tsc": "ethereumjs-config-tsc",
    "build": "ethereumjs-config-build"
  }

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    32
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    32
  • 1.1.0
    0
  • 1.0.2
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @ethereumjs/config-tsc

Weekly Downloads

32

Version

1.1.1

License

MIT

Unpacked Size

1.63 kB

Total Files

5

Last publish

Collaborators

  • acolytec3
  • g11tech
  • axic
  • holgerd77