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 authored and T410 committed Feb 28, 2022
1 parent 6e53740 commit b95ad30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
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.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"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\"",
"postinstall": "prisma generate",
"import:pubchem": "node dist/pubchem-import/index.js"
},
"husky": {
Expand Down

0 comments on commit b95ad30

Please sign in to comment.