perfume.js

v8.1.0
Web performance library for measuring all User-centric performance metrics, including the latest Web Vitals.
performance performance-metrics metrics navigation-timing time-to-first-byte ttfb navigator-interface resource-timing service-worker-status and 16 more...

lint

eslint -c .eslintrc.js --ext .ts src

prebuild

rimraf dist

build

tsc && tsc --module commonjs --outDir dist/lib && rollup -c rollup.config.ts

start

tsc -w & rollup -c rollup.config.ts -w

test

jest

test:watch

jest --watch

test:prod

npm run lint && npm run test -- --coverage --no-cache

report-coverage

cat ./coverage/lcov.info | coveralls

commit

git-cz

commitmsg

validate-commit-msg

precommit

lint-staged

prepush

npm run test:prod

ci

npm run test:prod && npm run build

Metadata

  • MIT
  • >=10.0.0
  • Leonardo Zizzamia
  • released 12/31/2022

Downloads

Maintainers