@o3r/create
TypeScript icon, indicating that this package has built-in type declarations

11.1.2 • Public • Published

Otter project initializer

Super cute Otter!

Description

Stable Version Bundle Size

This package is an NPM initializer to generate a web application based on the Otter Framework.

Create an Otter application

This package is simplifying the start of an Otter Framework based application.

Usage

npm create @o3r <project-name> -- [...options]

[!WARNING] yarn create is not supported.

Custom package manager

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]

[!NOTE] At the moment, the package-manager option only supports yarn and npm.

Custom registry

You can specify the npm's package registry to use.

npm create @o3r <project-name> --registry=<registry-url> -- [...options]

It will create a project with a .npmrc file configured to target the specified registry. If the specified package manager is yarn, it will also configure the .yarnrc.yml file.

Others available options

The generator accepts all the configurations from the Angular ng new command, see the options list. 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.

Dependencies (6)

Dev Dependencies (40)

Package Sidebar

Install

npm i @o3r/create

Weekly Downloads

747

Version

11.1.2

License

BSD-3-Clause

Unpacked Size

20.6 kB

Total Files

5

Last publish

Collaborators

  • mrednic-1a
  • nicohoffmann
  • jbourgeois-1a
  • vscaiceanu-1a
  • kpanot