@essentials/benchmark

v1.0.7
A simple and pretty benchmarking utility
benchmark

build

npm run build:cjs && npm run build:es

build:cjs

babel src -d dist/cjs -x .js --ignore "**/*.test.js","**/test.js" --delete-dir-on-start

build:es

cross-env BABEL_ENV=es babel src -d dist/es -x .js --ignore "**/*.test.js","**/test.js" --delete-dir-on-start

format

npm run format:cjs && npm run format:es && npm run format:src

format:cjs

prettier --write "dist/cjs/**/*.js"

format:es

prettier --write "dist/es/**/*.js"

format:src

prettier --write "src/**/*.js"

lint

eslint src

prepublishOnly

npm run lint && npm run build && npm run format

validate

npm run lint
npm i @essentials/benchmark

Metadata

  • MIT
  • Whatever
  • Jared Lunde
  • released 7/9/2020

Downloads

Maintainers