2.0.1 ā€¢ Published 5 years ago

@pika/init v2.0.1

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

šŸ“¦āœØ @pika/init

Start a bundler-free @pika/web web application with a single command!
Previously released as create-pika-app, created by @ndom91

Usage Gif

šŸ›« Quick Start

npx @pika/init awesome-new-app-directory
cd awesome-new-app-directory
npm run dev

The example application will then be available at localhost:5000

šŸ’» Usage

Usage: npx @pika/init --template [template] <project-name>

Options:
  -V, --version              output the version number
  -t, --template [template]  template choice (optional)
  -h, --help                 output usage information

Examples:
  $ npx @pika/init --template app-preact my-new-app
  $ npx @pika/init --template app-lit my-new-app
  $ npx @@pika/init my-new-app

šŸŒ² Templates

  1. app-preact

Slimmed down version of terminal-homepage built on the following stack:

  • Preact
  • Preact-router
  • Preact-emotion
  • Typescript
  • Babel
  • ESLint
  • Prettier
  • @Pika/Web
  1. app-vue

  1. app-lit

  • LitElement
  • lit-html
  • Basic To do List Example
  • Thanks: @thepassle
  1. Your next app šŸ˜Ž

If you'd like to have your project included here, just open a PR and we'll take a look!

šŸš§ Contributing

  1. Clone the repo
    git clone https://github.com/pikapkg/init pika-init

  2. Install the project
    cd pika-init && npm install

To test execution of the binary:

  1. Build the binary npm run build

  2. Generate a test application node pkg/dist-node/index.bin.js generated-test-app-name

  3. Fork, commit & push your changes, and then make a pull request back to this repository!


šŸ“ LicenceMIT