perfume.js

v0.6.0
JavaScript library for measuring Short and Long Script, First Contentful Paint (FCP), Time to Interactive (TTI), Component First Paint (CFM), annotating them to the DevTools timeline and reporting the results to Google Analytics.
performance-metrics google-analytics paint perfume metrics javascript-library timeline time-to-interactive first-contentful-paint and 8 more...

lint

tslint -t codeFrame 'src/**/*.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 && npm run build

Metadata

  • MIT
  • >=6.0.0
  • Leonardo Zizzamia
  • released 3/3/2018

Downloads

Maintainers