@payid-org/server-migration

v0.2.0
Helper library for PayID server migrations

build

rm -rf build && tsc --esModuleInterop --project . && copyfiles ./test/test.txt build

buildWatch

tsc --esModuleInterop --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

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-migration

Metadata

Downloads