Create a Project
Install the Basketry CLI:​
The Basketry CLI is the main tool for creating and running a Basketry project. Install the basketry
package to get started.
- npm
- yarn
- pnpm
npm install basketry
yarn add basketry
pnpm add basketry
Initialize the project​
Run the init
command to create a new Basketry project:
- npm
- yarn
- pnpm
npx basketry init
yarn dlx basketry init
pnpm dlx basketry init
This will create a basketry.config.json
file in the root of your project:
basketry.config.json
{
"source": "",
"parser": "",
"rules": [],
"generators": [],
"output": "",
"options": {
"basketry": {}
}
}