@etn-sc/web3-packagetemplate
v1.1.1
Published
Package template for Web3 4.x.x
Readme
web3.js - Package Template
This is a sub-package of @etn-sc/web3.js.
@etn-sc/web3-packagetemplate contains the ideal setup for a Web3.js package.
Installation
You can install the package using NPM
Using NPM
npm install @etn-sc/web3-packagetemplateGetting Started
- :writing_hand: If you have questions submit an issue
Prerequisites
Package.json Scripts
| Script | Description |
| ---------------- | -------------------------------------------------- |
| clean | Uses rimraf to remove dist/ |
| build | Uses tsc to build package and dependent packages |
| lint | Uses eslint to lint package |
| lint:fix | Uses eslint to check and fix any warnings |
| format | Uses prettier to format the code |
| test | Uses jest to run unit tests |
| test:integration | Uses jest to run tests under /test/integration |
| test:unit | Uses jest to run tests under /test/unit |
