lakesjs
v1.0.5
Published
The efficient and powerful JavaScript build tool.
Downloads
5
Maintainers
Readme
LakesJS - The efficient JavaScript build tool. Lakes CLI - The Lakes CLI is a very powerful tool for lakes: You can install it with:
npm i -g lakesjs
You can then run
lake -h
This will display a help message. You can simply run
lake
To execute your lakefile.js You can initiate a project with:
lake -i|--i|-init|--init
What is a lakefile? A lakefile is how we parse tasks, all tasks are placed in that file. To create a task you can execute a callback, so you can put whatever JavaScript code you want. Lakefile methods
const { task, series, run } = require('lakesjs');
const test = task("task name", "task description", () => {
//Callback function to execute
});
series(test) //Executed test, you can add more by creating more tasks and adding more params
run() //Executes all tasks
NOTE: Lakes automatically installs a local version of the dependency to create the lakefile.