Files
webstudio/fixtures/webstudio-custom-template/package.json
T
Bogdan Chadkin 2518719ba9 refactor: merge tsconfig from CLI templates (#3774)
Here changed tsconfig copying logic to merge instead of override. This
simplifies alternative frameworks support.
2024-07-22 13:49:10 +02:00

60 lines
2.0 KiB
JSON

{
"scripts": {
"custom-template-script": "echo \"This is a custom template script\"",
"build": "remix vite:build",
"dev": "remix vite:dev",
"typecheck": "tsc",
"size-test": "rm -rf ./public && remix build && size-limit",
"cli": "NODE_OPTIONS='--conditions=webstudio --import=tsx' webstudio",
"fixtures:link": "pnpm cli link --link \"https://main.development.webstudio.is/builder/0d856812-61d8-4014-a20a-82e01c0eb8ee?authToken=d225fafb-4f20-4340-9359-c21df7c49a3f\"",
"fixtures:sync": "pnpm cli sync && pnpm prettier --write ./.webstudio/",
"fixtures:build": "pnpm cli build --template internal --template ./custom-template --template ./custom-template-stage --preview && pnpm prettier --write ./app/ ./package.json ./tsconfig.json"
},
"private": true,
"sideEffects": false,
"dependencies": {
"@remix-run/node": "2.10.3",
"@remix-run/react": "2.10.3",
"@remix-run/server-runtime": "2.10.3",
"@size-limit/file": "^9.0.0",
"@webstudio-is/form-handlers": "workspace:*",
"@webstudio-is/image": "workspace:*",
"@webstudio-is/react-sdk": "workspace:*",
"@webstudio-is/sdk": "workspace:*",
"@webstudio-is/sdk-components-react": "workspace:*",
"@webstudio-is/sdk-components-react-radix": "workspace:*",
"@webstudio-is/sdk-components-react-remix": "workspace:*",
"isbot": "^5.1.13",
"react": "18.3.0-canary-14898b6a9-20240318",
"react-dom": "18.3.0-canary-14898b6a9-20240318",
"size-limit": "^9.0.0",
"web-vitals": "^3.5.2"
},
"devDependencies": {
"@remix-run/dev": "2.10.3",
"@types/react": "^18.2.70",
"@types/react-dom": "^18.2.25",
"typescript": "5.5.2",
"vite": "^5.3.4",
"webstudio": "workspace:*"
},
"engines": {
"node": ">=20.0.0"
},
"size-limit": [
{
"path": "public/build/*.js",
"limit": "160 kB",
"gzip": false
}
],
"name": "webstudio-custom-template",
"version": "0.0.1",
"description": "",
"main": "index.js",
"keywords": [],
"author": "",
"license": "AGPL-3.0-or-later",
"type": "module"
}