@theqrl/web3-packagetemplate
v0.2.1
Published
Package template for Web3 4.x.x
Downloads
5
Readme
web3.js - Package Template
This is a sub-package of web3.js.
web3-packagetemplate
contains the ideal setup for a Web3.js package.
Installation
You can install the package either using NPM or using Yarn
Using NPM
npm install web3-packagetemplate
Using Yarn
yarn add web3-packagetemplate
Getting Started
- :writing_hand: If you have questions submit an issue or join us on Discord
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
|