Files
webstudio/packages/cli/templates/defaults/package.json
T
Jaya Krishna Namburu fa73721355 feat: Allow export to netlify using functions and edge-functions as templates from cli (#2346)
## Description

This PR adds support for templates. 
- Extracted out the defaults like `.vercelignore` and `image-loader`.
As, if the users re using some other service providers they come as
default and won't help.
- Add prompt for selecting a template at the start of the init process.
- Added template for `netlify-functions` and `netlify-edge-functions`. 

## Code Review

- [ ] hi @istarkov , I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview
  
- [ ] hi @TrySound , I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [x] made a self-review
- [x] added inline comments where things may be not obvious (the "why",
not "what")

## Before merging
- [x] tested locally
2023-09-23 12:30:21 +02:00

36 lines
970 B
JSON

{
"private": true,
"sideEffects": false,
"scripts": {
"build": "remix build",
"dev": "remix dev",
"typecheck": "tsc"
},
"dependencies": {
"@remix-run/react": "^1.19.2",
"@remix-run/server-runtime": "^1.19.2",
"@remix-run/node": "^1.19.2",
"@webstudio-is/react-sdk": "^0.100.0",
"@webstudio-is/sdk-components-react-radix": "^0.100.0",
"@webstudio-is/sdk-components-react-remix": "^0.100.0",
"@webstudio-is/sdk-components-react": "^0.100.0",
"@webstudio-is/form-handlers": "^0.100.0",
"@webstudio-is/image": "^0.100.0",
"@webstudio-is/sdk": "^0.100.0",
"isbot": "^3.6.8",
"react": "^18.2.0",
"react-dom": "^18.2.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",
"@webstudio-is/http-client": "^0.100.0",
"typescript": "5.2.2"
},
"engines": {
"node": ">=18.0.0"
}
}