mirror of
https://github.com/supabase/supabase.git
synced 2026-09-07 02:20:52 +08:00
* add logic to remember last route * add default redirect * move logic to index page * Simplify logs page redirect logic * missing } * fix wrong } * wait 2s for page to redirect * use latest version in local studio cli test * rm timeouts looks like it takes longer in ci * Clean up * Fix broken commands --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
26 lines
900 B
JSON
26 lines
900 B
JSON
{
|
|
"name": "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 generate-local-env.js",
|
|
"pretest:local": "pnpm env:setup",
|
|
"test:local": "pnpm env:setup && export ENV=local && export PROJECT_REF=default && playwright test",
|
|
"posttest:local": "supabase stop --no-backup",
|
|
"test:staging": "export ENV=staging && playwright test",
|
|
"codegen:setup": "pnpm env:setup && NODE_ENV=test pnpm --prefix ../../apps/studio dev",
|
|
"codegen": "playwright codegen http://localhost:8082/project/default",
|
|
"clean": "rimraf node_modules"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.49.0",
|
|
"lodash": "^4.17.21",
|
|
"dotenv": "^16.4.7"
|
|
}
|
|
}
|