diff --git a/core/package.json b/core/package.json index e56a57f43..93c7431ad 100644 --- a/core/package.json +++ b/core/package.json @@ -15,7 +15,7 @@ "license": "Apache-2.0", "private": true, "scripts": { - "build": "bun esbuild.config.ts", + "build": "bun esbuild.config.ts && mkdirp build/templates/ && ncp src/emails/templates build/templates", "build:bun": "bun build src/index.ts --outdir=build --target=bun --packages=external", "test": "bun test", "test:debug": "bun test --inspect-brk", @@ -53,6 +53,8 @@ "dotenv": "^10.0.0", "graphql-request": "5.0.0", "jest": "27.2.4", + "mkdirp": "^3.0.1", + "ncp": "^2.0.0", "type-graphql": "^1.1.1", "typescript": "^4.9.5" },