Skip to content

Commit

Permalink
re-added pre scripts for generating env
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlee348 committed Nov 18, 2024
1 parent ab017dc commit d386097
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
"license": "Apache-2.0",
"sideEffects": false,
"scripts": {
"generate-env": "node scripts/generateEnv.js",
"postinstall": "(cp -n .env.example .env) || echo already exists && pnpm run generate-env",
"generate-env": "(cp .env.example .env) || echo .env already exists && node scripts/generateEnv.js",
"postinstall": "pnpm generate-env",
"prebuild": "pnpm generate-env",
"prebuild:clean": "pnpm generate-env",
"predev": "pnpm generate-env",
"build": "turbo run build --filter={packages/*}",
"build:clean": "turbo run build:clean",
"dev": "turbo run dev --filter={packages/*}",
Expand Down

0 comments on commit d386097

Please sign in to comment.