Skip to content

Instantly share code, notes, and snippets.

@titouancreach
Created April 2, 2025 15:23
Show Gist options
  • Save titouancreach/365988503006e09ed83a58661e3146c3 to your computer and use it in GitHub Desktop.
Save titouancreach/365988503006e09ed83a58661e3146c3 to your computer and use it in GitHub Desktop.
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "dotenv -e config/.env.development -- tsx --watch ./index.ts",
"build": "esbuild ./index.ts --bundle --platform=node --target=node22 --outfile=dist/index.cjs --format=cjs && cp ./node_modules/@repo/prisma/node_modules/prisma/libquery* ./",
"start": "dotenv -e config/.env.production -- node ./dist/index.cjs",
"staging": "dotenv -e config/.env.staging -- node ./dist/index.cjs"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment