GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
Other
22.69k stars 4.11k forks source link

Fix CLI installation and add Windows compatibility for scripts #6166

Closed mohamedsalem401 closed 1 month ago

mohamedsalem401 commented 2 months ago

To use the GrapesJS framework via the CLI, we must first build the CLI itself. Therefore, we should add a build step for the CLI after the installation process.

"start:js": "node node_modules/grapesjs-cli/dist/cli.js serve"

I also added cross-env before some script so that they will work on Windows machines.

danstarns commented 2 months ago

Related: