adds post install script

This commit is contained in:
Joseph Ditton 2021-12-04 20:32:01 -07:00
parent d844431745
commit 0757589006

View File

@ -18,6 +18,7 @@
"db:setup": "bash bin/create_db.sh && yarn db:migrate && yarn db:seed", "db:setup": "bash bin/create_db.sh && yarn db:migrate && yarn db:seed",
"prebuild": "rimraf dist", "prebuild": "rimraf dist",
"postbuild": "yarn db:migrate && yarn db:seed", "postbuild": "yarn db:migrate && yarn db:seed",
"postinstall": "cd client && yarn",
"build": "nest build && yarn client:build", "build": "nest build && yarn client:build",
"format": "prettier --write \"server/**/*.ts\" \"test/**/*.ts\"", "format": "prettier --write \"server/**/*.ts\" \"test/**/*.ts\"",
"console": "ts-node -r tsconfig-paths/register server/console.ts", "console": "ts-node -r tsconfig-paths/register server/console.ts",