aztec.js
v0.4.0-beta.6 aztec cryptography privacy protocol ethereum blockchain
clean
rimraf -rf ./.nyc-output ./build ./coverage ./coverageEnv ./coverage.json ./lib || true
lint
eslint --ignore-path ../../.eslintignore .
test
NODE_ENV=TEST ./node_modules/.bin/mocha ./test --trace-warnings --exit --colors --recursive --reporter spec
test:coverage
NODE_ENV=TEST ./node_modules/.bin/nyc ./node_modules/.bin/mocha ./test --trace-warnings --exit --colors --recursive --reporter spec
build
rimraf ./lib && ./node_modules/.bin/cross-env BABEL_ENV=production ./node_modules/.bin/babel ./src --copy-files --out-dir ./lib
build:docs
jsdoc -c ./.jsdoc.json
publish:docs
npm run build:docs && ./node_modules/.bin/push-dir --dir ./docs --branch gh-pages --remote origin --cleanup