Skip to content

Commit

Permalink
add copy script
Browse files Browse the repository at this point in the history
  • Loading branch information
coolchock committed Nov 14, 2024
1 parent c79e01f commit 0c7b22e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "1.0.0-beta.1",
"main": "dist/server.js",
"scripts": {
"build": "npx tsc",
"build": "npx tsc && npm run copy-graphql",
"copy-graphql": "cp -R src/**/*.graphql dist/graphql/",
"codegen:apollo": "graphql-codegen --config codegen.apollo.ts",
"dev": "npm run db:reset && ts-node-dev --respawn --transpile-only src/server.ts",
"lint": "eslint .",
Expand Down

0 comments on commit 0c7b22e

Please sign in to comment.