perfume.js

v2.0.0
JavaScript library that measures First (Contentful) Paint (FP/FCP) and First Input Delay (FID). Annotates components’ performance for Vanilla and Angular applications, into the DevTools timeline. Reports all the results to Google Analytics or your favorit
performance-metrics google-analytics metrics javascript-library first-contentful-paint devtools user-timing web-performance webperf and 2 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

Metadata

  • MIT
  • >=6.0.0
  • Leonardo Zizzamia
  • released 11/6/2018

Downloads

Maintainers