erdia

v3.5.0
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

dev

ts-node src/cli.ts

debug

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

ctix

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

ctix:remove

ctix remove -p ./tsconfig.json --config .configs/.ctirc -g .configs/.ctiignore

build

npm run clean && tsc --incremental --project tsconfig.prod.json

dts

tsc --project tsconfig.prod.json --declaration --emitDeclarationOnly --declarationDir dist/types/origin

dts-gen

rollup --config ./.configs/rollup.mjs

dts:clean

rimraf dist/types/origin

esbuild-cli

FORMAT=cjs node .configs/esbuild.cli.mjs

bundle-pack

npm run esbuild-cli

bundle

npm run clean && run-s bundle-pack

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

lint

eslint --cache .

lint-staged

lint-staged

prettier

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

pub

npm run bundle && cross-env RELEASE_MODE=true NODE_ENV=production npm publish --registry http://localhost:8901

unpub

npm unpublish $npm_package_name@$npm_package_version --registry http://localhost:8901

pub:prod

npm run bundle && cross-env RELEASE_MODE=true npm publish --access=public

clean:dts

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

typeorm

typeorm-ts-node-commonjs

schema:sync

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

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.cjs

prepare

husky install

Metadata

  • MIT
  • >=18
  • ByungJoon Lee
  • released 3/14/2024

Downloads

Maintainers