Files
webstudio/apps/cli/package.json
T
Jaya Krishna Namburu 7097efe71f Add ability to build templates from the templates folder for scaffolding projects in cli (#2035)
## Description

This PR introduces a build step for cli to generate templates which is
needed in the next stages for building projects from the `sync` command
from #2033


## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)

## Before requesting a review

- [x] made a self-review
- [x] added inline comments where things may be not obvious (the "why",
not "what")
2023-08-15 13:11:54 +02:00

34 lines
970 B
JSON

{
"name": "@webstudio-is/cli",
"version": "0.87.1",
"description": "Webstudio CLI",
"author": "Webstudio <github@webstudio.is>",
"homepage": "https://webstudio.is",
"type": "module",
"bin": {
"webstudio": "./bin.js"
},
"scripts": {
"build:templates": "tsx ./templates/build.ts",
"build": "pnpm build:templates && build-package"
},
"license": "MIT",
"dependencies": {
"@webstudio-is/asset-uploader": "workspace:^",
"@webstudio-is/http-client": "workspace:^",
"@webstudio-is/project-build": "workspace:^",
"@webstudio-is/react-sdk": "workspace:^",
"@webstudio-is/sdk-components-react": "workspace:^",
"@webstudio-is/sdk-components-react-remix": "workspace:^",
"env-paths": "^3.0.0",
"ora": "^7.0.1",
"strip-indent": "^4.0.0"
},
"devDependencies": {
"@types/node": "^18.13.0",
"@webstudio-is/scripts": "workspace:^",
"@webstudio-is/tsconfig": "workspace:^",
"tsx": "^3.12.6"
}
}