mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-03 02:27:57 +09:00
## Description 1. What is this PR about (link the issue and add a short description) ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
30 lines
1.1 KiB
JSON
30 lines
1.1 KiB
JSON
{
|
|
"name": "@webstudio-is/postgrest",
|
|
"version": "0.0.0-webstudio-version",
|
|
"description": "Webstudio Project Build",
|
|
"author": "Webstudio <github@webstudio.is>",
|
|
"homepage": "https://webstudio.is",
|
|
"license": "AGPL-3.0-or-later",
|
|
"private": false,
|
|
"type": "module",
|
|
"exports": {
|
|
"./index.server": {
|
|
"webstudio": "./src/index.server.ts",
|
|
"import": "./src/index.server.ts"
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"typecheck": "tsgo --noEmit",
|
|
"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:*"
|
|
}
|
|
}
|