dotnet tool install --global Perla --version 0.14.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Perla --version 0.14.0
nuke :add-package Perla --version 0.14.0
Perla Dev Server
Check the sample https://github.com/AngelMunoz/perla-sample
Not using .NET? check the releases tab for a binary distribution, no need to install anything, just get the binary on your path and run it.
- .NET Users
dotnet tool install perla
- Windows Users
iwr -useb https://gist.githubusercontent.com/AngelMunoz/2f12b5d5d343338a509a216868d2bc2e/raw/3602e5b7f172af2bbf790fb6e303305ec7442213/install-perla.ps1 -OutFile ./install-perla.ps1 # verify the contents of the script if you want then invoke ./install-perla.ps1 -Version # <CurrentVersion>
Once we release a stable version you will be able to omit
This is an experimental project that aims to replace common and almost obligated nodejs tooling for greenfield projects using some state of the art technologies like
And battle tested technologies like
To allow frontend development without having to install any kind of dependency on your local machine, with the help of import maps we are able to import dependencies directly from the skypack cdn. This apart from removing the need for a local node environment and tools like npm <sup>*</sup> also improves security against npm compromised packages, since imports are handled via cdn the code is executed in the browser's sandbox.
THis project is in its early stages of development, current goals at this point are:
- For .NET users, remove npm/node out of the equation.
- For F# users, seamless fable integration.
- For .NET users, have a development server, HMR/auto-reload are not yet in the works.
- For .NET users, Build for production using esbuild.
- For .NET users, provide a cli dotnet tool
- Binary Release for users outside .NET
- Autoreload on change
- Typescript and Jsx support
- Json modules
Including the previous goals the future goals include
- Plugin System
Quick Command View
<sup>*</sup>: The first releases are aimed at the .NET community via dotnet tools but, if this project turns out to be useful beyond that we will enable binary distributions which should be executable for any environment
If you actually use and like nodejs, then you would be better taking a look at the tools that inspired this repository
These tools have a bigger community and rely on an even bigger ecosystem plus they support plugins via npm so if you're using node stick with them they are a better choice Perla's unbundled development was inspired by both snowpack and vite, CDN dependencies were inspired by snowpack's remote sources development
This package has no dependencies.