![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
A minimal static site generator inspired by Middleman and Sprockets, compatible with gulp plugins.
Lingon is a minimal "static site generator" with a focus on developer happiness.
Lingon is a tool for building static web apps. Our thesis is: following a few conventions is better than writing a lot of configuration. We've borrowed this idea from middleman and Sprockets. If you already know these tools you'll feel right at home with Lingon.
Under the hood we use Gulp plugins to do the heavy lifting, leveraging an existing community of great plugins.
Key features
Add "lingon" to your package.json or:
$ npm install lingon
Create a "lingon.js" file in the root of the project and make it executable:
$ chmod +x lingon.js
This file is used to both configure and run Lingon. This is where you define which plugins to use and how they should interact. The most basic valid "lingon.js" file looks like this:
var lingon = require("lingon");
This will allow Lingon to build and serve a basic web applications. By default, Lingon will look for source files in ./source
and put build files in ./build
. These defaults can be changed like this:
var lingon = require("lingon");
lingon.sourcePath = "/some/other/path";
lingon.buildPath = "/dev/null";
Check out the usage documentation for a walkthrough of all features.
Show help:
$ ./lingon.js -h
Build once and quit:
$ ./lingon.js build
Clean and build:
$ ./lingon.js clean build
Start the server:
$ ./lingon.js
Start the server on a custom port:
$ ./lingon.js server -p 1111
Lingon favors convention over configuration. For example, Grunt & Gulp provide powerful API's for building very customized build scripts. This requires you to write a bit of code everytime you want your build system to do something new. Each step in the build pipeline is carefully orchestrated so every project becomes special. This means there's a lot of copy-pasta going on when starting something new.
Lingon is inspired by Sprockets and uses a convention approach: A set of simple rules are used to determine what files to build, how to build them and where to put them. Files are processed based on their filename extensions.
Example: "index.html.ejs" will be run through the EJS processor. These processors are gulp plugins, which allows us to leverage a large collection of great existing plugins. If you want to teach Lingon something new, you just have to define the mapping between a file ending and a gulp plugin. That's it!
Run the bats e2e tests:
$ ./tests.sh
We'd love some help!
Take a look at our CONTRIBUTING.md file for guidelines.
Licensed under the MIT license.
FAQs
A minimal static site generator inspired by Middleman and Sprockets, compatible with gulp plugins.
The npm package lingon receives a total of 169 weekly downloads. As such, lingon popularity was classified as not popular.
We found that lingon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.