PrismaID CLI
Usage
The PrismaID command-line interface (CLI) is your go-to tool for developing PrismaID application skeleton.
Interactive Mode
npm init @prismadelabs/prismaid
This command runs the npx - the npm package runner - so nothing is installed. Alternatively you could use npx directly instead
npx @prismadelabs/create-prismaid
Command Mode
npm init prismaid --name <project-name> --template <template> --git --install --skip
Commands
Parameter | Shorthand | Description |
---|---|---|
--name | -n | project name |
--template | -t | template name |
--git | -g | initialise a git repo |
--install | -i | install all dependencies |
--skip | -s | skip all to create default project |
Templates
*) additional templates will be available soon
StencilJS Application Template
With this template you get a project created based on StencilJS skeleton. It contains the Home page with fully equiped detection screen.
You could customise the card placeholder easily. Just replace assets/images/card.png.
The demo app needs app icon in various dimension. For that purpose replace icon src/assets/icon/icon512x512.png. Then you can use script prepare-images to create all neccessary icons. Otherwise the default icon will be used.
npm run prepare-images