erdia

v3.0.0-rc.1
CLI to generate mermaid.js ER diagram using TypeORM entity
typeorm entity mermaid mermaid.js mermaidjs er erdiagram er-diagram diagram and 2 more...

clean

rimraf dist artifact

clean:dts

rimraf dist/cjs/src dist/esm/src dist/src dist/examples

debug

node -r ts-node/register -r tsconfig-paths/register --inspect-brk src/cli.ts

prettier

prettier --write src/**/*.ts

dev

ts-node src/cli.ts

ctix:single

ctix single -p ./tsconfig.prod.json --config ./.configs/.ctirc

ctix:remove

ctix remove -p ./tsconfig.prod.json --config ./.configs/.ctirc

typeorm

typeorm-ts-node-commonjs

schema:sync

typeorm-ts-node-commonjs schema:sync -d ./examples/schema-type/dataSourceConfig.ts

test

jest --coverage --runInBand

test:silent

LOG_LEVEL=info node --trace-warnings --no-compilation-cache node_modules/.bin/jest --coverage --silent

test-with-vm

NODE_OPTIONS=--experimental-vm-modules npx jest --coverage --runInBand

build

tsc --incremental

prerollup:prod

run-s clean lint

rollup:prod

rollup --config ./.configs/rollup.config.prod.ts --configPlugin typescript --bundleConfigAsCjs

postrollup:prod

run-s clean:dts

prerollup:dev

run-s clean lint

rollup:dev

rollup --config ./.configs/rollup.config.dev.ts --configPlugin typescript --bundleConfigAsCjs

postrollup:dev

run-s clean:dts

prepub

npm run rollup:prod

pub

NODE_ENV=production npm publish --registry http://localhost:8901 --force

unpub

npm unpublish erdia@latest --registry http://localhost:8901 --force

repub

run-s unpub pub

prepub:prod

npm run rollup:prod

pub:prod

NODE_ENV=production RELEASE_MODE=true npm publish

lint

eslint --cache --ext ts,tsx .

httpd

http-server -p 7879 dist/html -o /

dd

deps-diff md -d dev -d prod -d peer --title-list-type "*" --deps-list-type "*" --content-list-type "*"

prepublishOnly

node prepublish.js

prepare

husky install

Metadata

  • MIT
  • Whatever
  • ByungJoon Lee
  • released 8/21/2023

Downloads

Maintainers