0.2.2 ā€¢ Published 3 years ago

create-rediagram-project v0.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

npm version License: MIT code style: prettier PRs Welcome

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.