Skip to content

beenotung/create-ts-liveview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-ts-liveview

npm init cli script to create ts-liveview project

npm Package Version

How this works

This package is a npm init script. You can run any 'create-X' package by running 'npm init X'.

It takes an optional argument to specify the project name (following the naming format of npm package, no space, no uppercase, e.t.c.)

It downloads the template project using degit. Compared with pulling from git directly, you don't need to download the full commit history, hence it loads faster.

Usage example

# reuse cached version if available
> npm init ts-liveview my-app
# or always run the latest version of cli package
> npx create-ts-liveview@latest my-app

Then follows the "get started" message from above command.

Remark: Sometimes "npm init X" get stuck on old version of 'create-X' package, you may run "npx create-X@latest" to run the latest version of cli package.

This issue is discussed on npm/cli#2395

License

This is free and open-source software (FOSS) with BSD-2-Clause License