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: 3 months 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T01:20:09.000Z (almost 2 years ago)
- Last Synced: 2025-03-28T19:15:56.537Z (3 months 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  [](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