Skip to content

Instantly share code, notes, and snippets.

@rodrigobertin
Last active December 26, 2023 17:22
Show Gist options
  • Save rodrigobertin/7b85f97a8896b4777e43e4656018aac2 to your computer and use it in GitHub Desktop.
Save rodrigobertin/7b85f97a8896b4777e43e4656018aac2 to your computer and use it in GitHub Desktop.
"scripts": {
"start": "ts-node-dev src/app.ts",
"build": "tsc",
"typeorm": "typeorm-ts-node-commonjs ",
"t:generate": "pnpm run typeorm -d ./src/config/data-source.ts migration:generate ./src/migrations/migrate",
"t:migrate": "pnpm run typeorm -d ./src/config/data-source.ts migration:run",
"t:migrations": "pnpm run t:generate && pnpm run t:migrate",
"t:create-entity": "pnpm run typeorm entity:create"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment