perfume.js

v4.6.0
JavaScript library that measures Navigation Timing, First (Contentful) Paint (FP/FCP), First Input Delay (FID) and components lifecycle performance. Report real user measurements to your favorite analytics tool.
performance-metrics metrics navigation-timing resource-timing first-paint first-contentful-paint first-input-delay devtools user-timing and 5 more...

lint

tslint --project tsconfig.json -t codeFrame 'src/perfume.ts' '__tests__/**/*.ts'

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

Metadata

  • MIT
  • >=10.0.0
  • Leonardo Zizzamia
  • released 12/4/2019

Downloads

Maintainers