An open API service indexing awesome lists of open source software.

https://github.com/typescene/create-typescene-webapp

Create Web apps with Typescene from the command line
https://github.com/typescene/create-typescene-webapp

Last synced: about 1 year ago
JSON representation

Create Web apps with Typescene from the command line

Awesome Lists containing this project

README

          

# Create Typescene Web App

Create front end applications with the Typescene framework, using the command line (CLI).

## Getting Started

You'll need to have NodeJS installed on your computer, but you do **not** need to install anything else.

To create a new app in a folder named `my-webapp`, run the following command in the Terminal (Mac) or Command Prompt (Windows):

```bash
npx create-typescene-webapp my-webapp
```

This will create a folder _inside_ the current folder, copy source files, and install packages using NPM.

After installation, run the following commands to start a development server and open your default browser:

```bash
cd my-webapp
npm run start
```

## Options

You may use the following command line arguments to configure the installation.

| Argument | Effect |
| ---------------- | --------------------------------------------------------- |
| `--js` | Use JS (ES6+) only, instead of TypeScript |
| `--jsx`, `--tsx` | Include JSX (TSX) support |
| `--bundler=`... | Use a specific bundler (`webpack`, `parcel`, or `rollup`) |
| `--target=`... | Set build target (`es5`, `es6`, or `es8`) |
| `--git` | Initialize a Git repository |
| `--yarn` | Use Yarn instead of NPM |
| `--overwrite` | Force overwrite existing files |

## Reach Out!

Find us on [Twitter](https://twitter.com/typescene) for the latest news, and please consider giving us a ⭐️ star on [GitHub](https://github.com/typescene/typescene)!

## License

The Typescene source code is licensed under the MIT license.