This package is an NPM initializer to generate a web application based on the Otter Framework.
This package is simplifying the start of an Otter Framework based application.
npm create @o3r <project-name> -- [...options]
or
yarn create @o3r <project-name> [...options]
[!WARNING] Please notice that the command
yarn create
is not available for versions >= 2.0.0 (see Yarn cli commands).
You can generate an environment with a specific package manager thanks to the --package-manager
options:
npm create @o3r <project-name> -- --package-manager=yarn [...options]
The generator accepts all the configurations from Angular ng new
command, find the list here.
On top of them, the following options can be provided to the initializer:
-
--yarn-version
: specify the version of yarn to use (default:latest
) -
--exact-o3r-version
: use a pinned version for otter packages.