@ijstech/cli
v0.1.38
Published
Command line tool to create new package for Secure Compute framework.
Downloads
131
Readme
@ijstech/cli
Command line tool to create new package for Secure Compute framework.
Usage
Step 1: Create a new folder
mkdir demo
cd demo
Step 2: Initialize a worker/router package
npx @ijstech/cli init <worker/router/contract/dapp> <name>
e.g.: npx @ijstech/cli init worker @scom/demo1
Step 3: Install package dependencies
npm i
for npm 9.x
npm i --install-links=false
or
docker-compose up install
Step 4: Run unit test
npm run test
or
docker-compose up test
Step 5: Build package
npm run build
or
docker-compose up build