top

create-kkt

Coverage Status Build NPM Version

Creates a kkt application using the command line.

Usage

# npm 6.x
$ npm init kkt my-app --example react-component-tsx
# npm 7+, extra double-dash is needed:
$ npm init kkt my-app -- --example react-component-tsx

$ yarn create kkt [appName]
# or npm
$ npm create kkt my-app
# or npx
$ npx create-kkt my-app

or

$ npm i create-kkt -g

Command Help

Below is a help of commands you might find useful. The example download is from https://kktjs.github.io/zip/

Usage: create-kkt <app-name> [options] [--help|h]

Options:
  --version, -v Show version number
  --help, -h Displays help information.
  --output, -o Output directory.
  --example, -e Example from: https://kktjs.github.io/zip/ , default: "basic"
  --force, -f Overwrite target directory if it exists. default: false
  --path, -p Specify the download target git address. default: "https://kktjs.github.io/zip/"

Example:
  npx create-kkt my-app
  yarn create kkt appName
  npm create kkt my-app
  npm create kkt my-app -f
  npm create kkt my-app -p https://kktjs.github.io/zip/

Copyright 2021

Development

npm run watch # Listen compile .ts files.
npm run build # compile .ts files.

License

MIT © Kenny Wong