A modern and performant static site generator supporting Web Component based development.
Greenwood is your workbench for the web, embracing web standards from the ground up to empower your stack from front to back. For information on getting started, reviewing our docs, or to learn more about the project and how it works, please visit our website.
Features:
Greenwood is currently working towards a 1.0 release. We would love to have your help building Greenwood! βοΈ
Our website has a complete Getting Started guide that will walk you through creating a Greenwood project from scratch.
You can follow along with, or clone and go, the companion repo or try it out live on Stackblitz.
Greenwood can be installed with your favorite JavaScript package manager.
# npm
npm i -D @greenwood/cli
# yarn
yarn add @greenwood/cli --dev
# pnpm
pnpm add -D @greenwood/cli
Then in your package.json, add the type
field and scripts
for the CLI:
{
"type": "module",
"scripts": {
"build": "greenwood build",
"dev": "greenwood develop",
"serve": "greenwood serve"
}
}
greenwood build
: Generates a production build of your projectgreenwood develop
: Starts a local development server for your projectgreenwood serve
: Runs a production server for a production buildAll of our documentation is on our website, which itself is built by Greenwood.
We would love your contribution to Greenwood! To get involved, you can check out our issue tracker for the βgood first issueβ label, reach out to us on Discord, or start a discussion in our GitHub repo.
See the LICENSE file for license rights and limitations (MIT).