eip-712
v0.2.1 ethereum eip-712
clean
rimraf lib
build
yarn run clean && yarn run build:source && yarn run build:declarations
build:source
yarn run build:source:cjs && yarn run build:source:es
build:source:cjs
cross-env NODE_ENV=production BABEL_ENV=cjs babel src --extensions '.ts' --source-maps --out-dir lib/cjs
build:source:es
cross-env NODE_ENV=production BABEL_ENV=es babel src --extensions '.ts' --source-maps --out-dir lib/es
build:declarations
tsc -p tsconfig.build.json
test
jest
lint
yarn run lint:tsc && yarn run lint:eslint && yarn run lint:prettier && yarn run lint:lockfile
lint:tsc
tsc --noEmit
lint:eslint
eslint . --ignore-path .gitignore --ext .ts,.tsx,.js,.jsx
lint:prettier
prettier --check --ignore-path .gitignore '**/*.{ts,tsx,js,json}'
lint:lockfile
lockfile-lint --type yarn --path yarn.lock --allowed-hosts yarn --validate-https --validate-checksum --validate-integrity
prettier
prettier --write --ignore-path .gitignore '**/*.{ts,tsx,js,json}'
prepare
yarn run build
npm i [email protected]
Metadata
- MIT
- >=10
- Maarten Zuidhoorn
- released 8/29/2020