0.2.2 ā¢ Published 3 years ago
create-rediagram-project v0.2.2
create-rediagram-project
Starter kit for rediagram.
How to use
Execute the following command to initialize the rediagram project in the specified directory.
# yarn create rediagram-project <your-project-name>
$ yarn create rediagram-project my-rediagram
š Creating new rediagram project in my-rediagram.
āļø Installing packages. This take a couple of minutes.
yarn install v1.22.4
info No lockfile found.
[1/4] š Resolving packages...
[2/4] š Fetching packages...
[3/4] š Linking dependencies...
[4/4] šØ Building fresh packages...
success Saved lockfile.
āØ Done in 9.38s.
āØ The installation is complete.
š Get started with following commands:
# Move to the project directory with the following command.
$ cd my-rediagram
š In the project directory, you can run:
# Runs src/*.rediagram.tsx scripts and output the image with rediagram.
$ yarn start
Help
$ create-rediagram-project -h
Usage: create-rediagram-project [options] <name>
Options:
-V, --version output the version number
-p, --package-manager <pm> select a package manager, yarn or npm. (default: "yarn")
-h, --help display help for command
License
This software is released under the MIT License, see LICENSE.