@payid-org/server-metrics

v1.1.0
Helper library to integrate PayID metrics into PayID server implementations

build

rm -rf build && tsc --project .

buildWatch

tsc --watch --project .

lint

eslint . --ext .ts --fix --max-warnings 0 && prettier --write '**/*.{md,json}'

lintNoFix

eslint . --ext .ts --max-warnings 0 && prettier --check '**/*.{md,json}'

lintWatch

chokidar src/**/*.ts -c "npm run lint" --initial --verbose

prepare

npm run build

prepublishOnly

npm run lintNoFix && npm run test

prestart

npm run build

start

node build/src/index.js

startWatch

tsc-watch --onSuccess 'npm run start'

test

nyc mocha 'test/**/*.test.ts'

testWatch

nyc mocha --watch 'test/**/*.test.ts'

preversion

npm run build && npm run lintNoFix && npm run test

postversion

git push && git push --tags
npm i @payid-org/server-metrics

Metadata

Downloads