@opengsn/gsn

v0.8.4
Open Gas Stations Network

test

yarn run lint && yarn extract_abi && yarn generate && yarn tsc && npm run test-js

ganache

ganache-cli --hardfork 'istanbul' --gasLimit 100000000 --defaultBalanceEther 1000 --deterministic

test-js

run-with-testrpc --hardfork 'istanbul' --port 8544 --gasLimit 10000000 --defaultBalanceEther 1000 --deterministic 'npx truffle --network npmtest test'

extract_abi

./scripts/extract_abi.js

truffle-test

yarn tsc && npx truffle test

truffle-compile

truffle compile

webtools-pack

webpack-cli --config ./webtools.webpack.js

webtools

webpack-cli --config ./webtools.webpack.js && http-server webtools/ -o

lint

yarn run lint:js && yarn run lint:sol

lint:fix

yarn run lint:js:fix

lint:js

eslint --ext .js,.ts --cache -f unix --ignore-path .gitignore src test scripts helpers

lint:sol

solhint -f unix "contracts/**/*.sol" --max-warnings 0

lint:js:fix

eslint --ext .js,.ts --cache -f unix --ignore-path .gitignore src test scripts helpers --fix

web

./restart-relay.sh web

trace

MODE=trace truffle test

coverage

yarn generate && ./scripts/run-coverage

clean-coverage

shx rm -rf coverage coverage.json

generate

rm -rf ./build/contracts && npx truffle compile && typechain --target trufflehotfix './build/contracts/**/*.json'

tsc

tsc --noEmit

postinstall

patch-package

coverage-if-changed

./scripts/run-coverage-if-changed.sh npm run coverage

prepare

./scripts/prepublish
npm i @opengsn/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 4/27/2020

Downloads