Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/codethread/js-gen
- Owner: codethread
- Created: 2019-09-14T18:44:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T01:20:09.000Z (over 1 year ago)
- Last Synced: 2024-12-15T07:48:35.783Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@ahdesigns/js-gen
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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