Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/codethread/js-gen

Scaffold a js or ts project for node or react (create-react-app under covers)
https://github.com/codethread/js-gen

Last synced: about 1 month ago
JSON representation

Scaffold a js or ts project for node or react (create-react-app under covers)

Awesome Lists containing this project

README

        

# Js Gen ![npm (scoped)](https://img.shields.io/npm/v/@ahdesigns/js-gen) [![Coding time tracker](https://wakatime.com/badge/github/AHDesigns/js-gen.svg)](https://wakatime.com/badge/github/AHDesigns/js-gen)

Javascript/ Typescript boilerplate generator for node and/or react projects.

## Installation
```bash
$ npm i -g create-react-app
$ npm i -g @ahdesigns/js-gen
```

## Usage
```bash
# navigate to the parent directory where you want your project to live, e.g:
$ cd ~/dev

# run the generator command:
$ js-gen

# follow the prompts (including giving your project a name)
# once complete, you can cd into your newly created project directory, e.g:
$ cd ~/dev/name-of-project
```

## About

Inspired by [create react app](https://github.com/facebook/create-react-app), quickly generate the boilerplate to run a typescript or javascript project with a slightly opinionated setup including:
- eslint (with optional typescript support)
- prettier
- jest (with `ts-jest` for typescript)
- tsconfig
- create-react-app for react projects