https://github.com/beenotung/create-ts-liveview
npm init cli script to create ts-liveview project
https://github.com/beenotung/create-ts-liveview
create-project npm-cli
Last synced: 5 months ago
JSON representation
npm init cli script to create ts-liveview project
- Host: GitHub
- URL: https://github.com/beenotung/create-ts-liveview
- Owner: beenotung
- License: bsd-2-clause
- Created: 2021-07-04T02:46:38.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-10T12:25:41.000Z (6 months ago)
- Last Synced: 2024-12-10T13:28:35.587Z (6 months ago)
- Topics: create-project, npm-cli
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/create-ts-liveview
- Size: 50.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-ts-liveview
npm init cli script to create [ts-liveview](https://github.com/beenotung/ts-liveview/tree/v4) project
[](https://www.npmjs.com/package/create-ts-liveview)
## 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
```bash
# 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 https://github.com/npm/cli/issues/2395
## License
This is free and open-source software (FOSS) with
[BSD-2-Clause License](./LICENSE)