g6/packages/cli
Aaron 0248c9c940
chore: config changeset, update version (#5930)
* chore: config changeset

* chore: fix cli deps version

* chore: add publish script

* chore: update version, add changelog

* chore: update changeset config

* chore: update publish script

* chore: update g6-cli

* chore: update version before publish
2024-06-25 15:28:14 +08:00
..
src feat: add scaffold for creating G6 extension (#5749) 2024-05-20 20:16:07 +08:00
template-extension chore: config changeset, update version (#5930) 2024-06-25 15:28:14 +08:00
build.config.ts feat: add scaffold for creating G6 extension (#5749) 2024-05-20 20:16:07 +08:00
index.js feat: add scaffold for creating G6 extension (#5749) 2024-05-20 20:16:07 +08:00
package.json chore: config changeset, update version (#5930) 2024-06-25 15:28:14 +08:00
README.md feat: add scaffold for creating G6 extension (#5749) 2024-05-20 20:16:07 +08:00
tsconfig.json feat: add scaffold for creating G6 extension (#5749) 2024-05-20 20:16:07 +08:00

@antv/g6-cli

@antv/g6-cli is a G6 template generation tool that comes with several templates.

Currently, it owns a built-in template called extension. This template handles the boilerplate setup, which encompasses a seamless local development environment, linting, code formatting, Jest for snapshot testing and bundling with Rollup etc.

@antv/g6-cli i

Getting Started

To start using @antv/g6-cli, you'll first need to install it globally.

npm i @antv/g6-cli -g

Once installed, you can easily scaffold a new project:

create-g6

Then follow the prompts!

prompts

You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a G6 Extension project, run:

create-g6 g6-extension-test --template extension