graco
v0.1.11
Published
![Tests](https://github.com/willcrichton/graco/actions/workflows/tests.yaml/badge.svg) ![npm](https://img.shields.io/npm/v/graco)
Downloads
20
Readme
Graco: a JS devtool orchestrator
I'm so goddamn tired of dealing with the Javascript devtool ecosystem. But nonetheless, I must make websites. Therefore I combined my frustration and hubris into Graco — it's like Cargo, for Javascript. Graco is a single script that orchestrates many JS devtools. You can do:
graco new
— create a new skeleton library, binary, or websitegraco build
— checks via Typescript, builds via Vite for websites and esbuild otherwise, and lints via eslintgraco fmt
— formats via Prettiergraco test
— tests via Jest
(In the future: graco doc
will document via typedoc, and graco publish
will publish via lerna.)
All of these commands work on individual packages or monorepos with multiple packages. Graco provides a default configuration for every tool, which you can eject and customize if necessary.
Usage
Don't use this right now. I'm working on it. But if you really want to try...
npm install -g graco
graco new --target bin --platform browser my-website
cd my-website
graco build -w
Then go to http://localhost:8000.