easy-uid

v1.0.2
Easy unique id generator for node and browser.
uid generator random tiny easy ES6

preversion

npm test && npm run lint && npm run build

postversion

npm run build && npm run changelog && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish

lint

eslint -c ./.eslintrc.js --fix './**/*.{js,jsx}' --ignore-path ./.prettierignore

test

jest --no-watchman

build:commonjs

cross-env NODE_ENV=cjs rollup -c -o lib/easy-uid.js

build:es

cross-env NODE_ENV=es rollup -c -o es/easy-uid.js

build

npm run build:commonjs && npm run build:es

changelog

conventional-changelog -p angular -i CHANGELOG.md -s -r 1

precommit

npm run lint

commitmsg

commitlint -e $GIT_PARAMS

commit

git-cz

Metadata

  • ISC
  • Whatever
  • Miroslav Jancarik
  • released 4/28/2020

Downloads

Maintainers