perfume.js

v5.0.0-rc.19
Web performance library for measuring all User-centric performance metrics.
performance performance-metrics metrics navigation-timing time-to-first-byte ttfb navigator-interface resource-timing service-worker-status and 14 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 5/6/2020

Downloads

Maintainers