Files
Ivan Starkov b31738b586 feat: Add additional page for fixtures (#2819)
## Description

Add additional page for base fixture to simplify script loading testing.
(In other PR)

## 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:
5de6)
- [ ] 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.example`
and the `builder/env-check.js` if mandatory
2024-01-25 18:39:27 +03:00

59 lines
1.9 KiB
JSON

{
"scripts": {
"custom-template-script": "echo \"This is a custom template script\"",
"build": "remix build",
"dev": "remix dev",
"typecheck": "tsc",
"start": "remix-serve build",
"checks": "pnpm typecheck",
"size-test": "rm -rf ./public && remix build && size-limit",
"fixtures:link": "webstudio link --link 'https://main.prs.webstudio.is/builder/0d856812-61d8-4014-a20a-82e01c0eb8ee?authToken=d225fafb-4f20-4340-9359-c21df7c49a3f'",
"fixtures:sync": "webstudio sync && pnpm prettier --write ./.webstudio/",
"fixtures:build": "webstudio build --template ./custom-template --preview && pnpm prettier --write ./app/ ./package.json"
},
"private": true,
"sideEffects": false,
"dependencies": {
"@remix-run/react": "^1.19.2",
"@remix-run/server-runtime": "^1.19.2",
"@remix-run/node": "^1.19.2",
"@webstudio-is/react-sdk": "workspace:*",
"@webstudio-is/sdk-components-react-radix": "workspace:*",
"@webstudio-is/sdk-components-react-remix": "workspace:*",
"@webstudio-is/sdk-components-react": "workspace:*",
"@webstudio-is/form-handlers": "workspace:*",
"@webstudio-is/image": "workspace:*",
"@webstudio-is/sdk": "workspace:*",
"isbot": "^3.6.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@size-limit/file": "^9.0.0",
"size-limit": "^9.0.0"
},
"devDependencies": {
"@remix-run/serve": "^1.19.2",
"@remix-run/dev": "^1.19.2",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"typescript": "5.2.2",
"webstudio": "workspace:*"
},
"engines": {
"node": ">=18.0.0"
},
"size-limit": [
{
"path": "public/build/*.js",
"limit": "137 kB",
"gzip": false
}
],
"name": "webstudio-custom-template",
"version": "0.0.1",
"description": "",
"main": "index.js",
"keywords": [],
"author": "",
"license": "AGPL-3.0-or-later"
}