-
npm install
to install dependencies -
npm run build:proto
to generate models from protobuffer -
npm run build
to build the project -
npm run test
to run tests
- Launch a local Eth node
docker run -p 8545:8545 kongliangzhong/contracts-beta2:0.2
- Run tests
npm install
npm run build
npm run test
src/index.ts
docker build -t lightcone-v2-js -f Dockerfile .
docker run --rm lightcone-v2-js sh -c 'npm run test'