mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-04 14:21:35 +09:00
Ref https://github.com/webstudio-is/webstudio/issues/860 https://github.com/user-attachments/assets/a85b525a-d43b-4361-aa5f-f2158b3c0211 --------- Co-authored-by: Oleg Isonen <oleg008@gmail.com>
30 lines
1.1 KiB
JSON
30 lines
1.1 KiB
JSON
{
|
|
"name": "@webstudio-is/postrest",
|
|
"version": "0.0.0",
|
|
"description": "Webstudio Project Build",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
"./index.server": {
|
|
"webstudio": "./src/index.server.ts",
|
|
"import": "./src/index.server.ts"
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"typecheck": "tsc",
|
|
"generate-types": "pnpx supabase gen types --lang=typescript --db-url postgresql://postgres:pass@localhost/webstudio > ./src/__generated__/db-types.ts && prettier --write ./src/__generated__/db-types.ts",
|
|
"playground": "pnpm tsx --env-file ../../apps/builder/.env",
|
|
"db-test": "docker run --rm --network host -v ./supabase/tests:/tests -e PGOPTIONS='--search_path=pgtap,public' supabase/pg_prove:3.36 pg_prove -d ${DIRECT_URL:-postgresql://postgres:pass@localhost/webstudio} --ext .sql /tests"
|
|
},
|
|
"dependencies": {
|
|
"@supabase/postgrest-js": "^1.19.3"
|
|
},
|
|
"devDependencies": {
|
|
"@webstudio-is/tsconfig": "workspace:*"
|
|
}
|
|
}
|