@identity.com/credential-commons
v1.0.0-rc.5 credentials anchor attestation
lint
eslint . --max-warnings=0
lint:fix
npm run lint -- --fix
test
cross-env NODE_ENV=false jest
test:watch
jest --watch
check
npm run lint && npm run test
check-schemas
cross-env NODE_ENV=false jest --no-coverage __integrations__/schemas/
generate-schemas
cross-env NODE_ENV=test node scripts/generateSchemas.js
publish-schemas
node scripts/publishSchemas.js && aws s3 cp ./dist/schemas/public/ $S3_BUCKET_SCHEMA_URL --recursive --acl public-read
generate-civic-config
cross-env NODE_ENV=test node scripts/configuration.js
build:cjs
BABEL_ENV=cjs babel src -d dist/cjs
build:es
babel src -d dist/es --no-babelrc
build:browser:before
BABEL_ENV=browser babel src -d dist/prebrowser
build:browser:after
minify dist/prebrowser -d dist/browser
build:browser:clean
rimraf dist/prebrowser
build:browser
npm run build:browser:before && npm run build:browser:after && npm run build:browser:clean
build
npm run build:browser && npm run build:cjs && npm run build:es
pretag
git fetch --tags
tag
git tag v$npm_package_version && git push --tags origin master
precommit
npm run lint
release:create
hub release create -m v$npm_package_version v$npm_package_version
npm i @identity.com/[email protected]
Metadata
- MIT
- Whatever
- Identity.com Community
- released 2/19/2019