Skip to content

kktjs/create-kkt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dc8060c · Oct 2, 2023

History

91 Commits
Oct 2, 2023
Sep 2, 2021
Oct 6, 2021
Apr 5, 2023
Oct 6, 2021
Nov 28, 2019
Nov 28, 2019
Jan 12, 2022
Sep 15, 2023
Oct 2, 2023
Mar 8, 2022
Apr 5, 2023

Repository files navigation

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