mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
* Move the playwright package to tests folder. * Update the workspace list. * Change the name of the playwright tests to local studio tests.
23 lines
719 B
JSON
23 lines
719 B
JSON
{
|
|
"name": "local-studio-tests",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"env:setup": "supabase start -x studio && supabase status --output json > keys.json && node scripts/generate-env.js",
|
|
"pretest": "pnpm run env:setup",
|
|
"test": "playwright test",
|
|
"posttest": "supabase stop --no-backup",
|
|
"codegen:setup": "pnpm run env:setup && NODE_ENV=test pnpm --prefix ../apps/studio run dev",
|
|
"codegen": "playwright codegen http://localhost:8082/project/default",
|
|
"clean": "rimraf node_modules"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.41.2"
|
|
}
|
|
}
|