@smapiot/pilet-template-empty
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

Piral Logo

This is the empty scaffolding template for a new pilet. It will just create an empty pilet with only an empty setup function.

Usage

Use the template with pilet new or npm init pilet:

# directly via the CLI (prefer to prefix with npx)
pilet new <app-shell> --template empty <other-options>

# via the initializer - best option (NPM v6)
npm init pilet --source <app-shell> --template empty <other-options>

# via the initializer - best option (NPM v7 and v8)
npm init pilet -- --source <app-shell> --template empty <other-options>

Variables

The following variables are available when scaffolding. They can be applied via the CLI flags, e.g.,

pilet new <app-shell> --template empty --vars.foo "bar" --vars.qxz "something else"

For this template we have:

  • src: Sets the directory of the source files. By default it's <root>/src.

License

Piral is released using the MIT license. For more information see the license file.

Package Sidebar

Install

npm i @smapiot/pilet-template-empty

Homepage

piral.io

Weekly Downloads

296

Version

1.0.9

License

MIT

Unpacked Size

55.6 kB

Total Files

8

Last publish

Collaborators

  • florianrappl