Skip to content

Commit

Permalink
Add Prisma generate command after post install for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
nesimtunc committed Feb 13, 2022
1 parent df41956 commit bc0d8f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"dev": "nodemon --ext ts --exec ts-node src/app.ts",
"start": "NODE_ENV=production ts-node src/app.ts",
"test": "NODE_ENV=test mocha --check-leaks -r ts-node/register -r tsconfig-paths/register \"test/**/*.spec.ts\"",
"test:watch": "NODE_ENV=test mocha --check-leaks -r ts-node/register -r tsconfig-paths/register \"test/**/*.spec.ts\" -w --watch-files \"test/**/*.spec.ts\",\"src/**/*.ts\""
"test:watch": "NODE_ENV=test mocha --check-leaks -r ts-node/register -r tsconfig-paths/register \"test/**/*.spec.ts\" -w --watch-files \"test/**/*.spec.ts\",\"src/**/*.ts\"",
"postinstall": "prisma generate"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit bc0d8f9

Please sign in to comment.