chore(debug): envs in api functions

This commit is contained in:
Michael Zetterberg
2024-05-17 15:16:51 +02:00
parent 53ffe519cd
commit 62a8374144
6 changed files with 66 additions and 38 deletions

View File

@@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"prebuild": "npm run lint",
"prebuild": "npm run update-dotenv && npm run lint",
"build": "next build",
"predev": "rm -rf .next",
"dev": "PORT=3000 NEXT_PUBLIC_PORT=3000 next dev",
@@ -19,7 +19,8 @@
"test:e2e": "start-server-and-test test:setup http://127.0.0.1:3000/en/test \"cypress open --e2e\"",
"test:e2e:headless": "start-server-and-test test:setup http://127.0.0.1:3000/en/test \"cypress run --e2e\"",
"test:setup": "npm run build && npm run start",
"preinstall": "export $(cat .env.local | grep -v '^#' | xargs)"
"preinstall": "export $(cat .env.local | grep -v '^#' | xargs)",
"update-dotenv": "node update-dotenv.mjs"
},
"dependencies": {
"@contentstack/live-preview-utils": "^1.4.0",