dev
vite
lint
eslint -c .eslintrc.js '{src,test}/**/*.{ts,tsx}'
test
yarn test:unit && yarn test:integration
build
tsc -b tsconfig.build.json && tsc -b tsconfig.umd.json
clean
rm -rf dist/
preview
vite preview
lint:fix
eslint -c .eslintrc.js --fix '{src,test}/**/*.{ts,tsx}'
test:unit
jest -c=jest.config.unit.js test/unit
test:watch
jest --watch -c jest.updates.config.js --onlyChanged
start:validator
solana-test-validator -q --bpf-program didso1Dpqpm4CsiCjzP766BGY89CAdD6ZBL68cRhFPc test/fixtures/sol_did_3.1.0.so --bpf-program regUajGv87Pti6QRLeeRuQWrarQ1LmEyDXcAozko6Ax test/fixtures/did_registry_0.0.6.so --reset
test:integration
start-server-and-test start:validator http://localhost:8899/health test:integration:only
test:integration:only
jest -c=jest.config.integration.js test/integration --detectOpenHandles --coverage false