Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/irevenko/forge-node-app
๐ ๐ฆ๐ Generate Node.js boilerplate with optional libraries & tools
https://github.com/irevenko/forge-node-app
babel boilerplate boilerplate-node cli cli-app command-line command-line-interface command-line-tool javascript node node-boilerplate node-js nodejs npm-module npm-package npx typescript
Last synced: 3 months ago
JSON representation
๐ ๐ฆ๐ Generate Node.js boilerplate with optional libraries & tools
- Host: GitHub
- URL: https://github.com/irevenko/forge-node-app
- Owner: irevenko
- License: mit
- Created: 2020-10-10T15:22:47.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-24T00:03:09.000Z (almost 4 years ago)
- Last Synced: 2024-07-28T14:15:45.487Z (3 months ago)
- Topics: babel, boilerplate, boilerplate-node, cli, cli-app, command-line, command-line-interface, command-line-tool, javascript, node, node-boilerplate, node-js, nodejs, npm-module, npm-package, npx, typescript
- Language: TypeScript
- Homepage: http://npmjs.com/package/forge-node-app
- Size: 91.8 KB
- Stars: 92
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# forge-node-app ๐ ๐ฆ๐
A Fast Way to Generate Node.js Boilerplate With Your Favorite Development Tools and Libs
๐ Inspired by vue-cli
# Usage ๐ด
Run
```npx forge-node-app```
Or install globally
```npm i -g forge-node-app```
```forge-node-app```# Preview ๐
# Supported Things ๐
- VanillaJS, TypeScript, Babel
- npm, yarn
- ESLint, Prettier
- dotenv, nodemon, ts-node-dev
- Jest, Mocha + Chai
- git repo (GitHub, GitLab)# Additonal Stuff ๐
- Setting up Initial Folders (src, tests)
- Setting up Initial Files (index, index.test)
- Initing the package, Setting up Scripts and Package Details
- Generating LICENSE, README, .gitignore, prettier and linter configs, babel and ts configs
- Providing compatibility for all libraries with TS/Babel# Contributing ๐ค
Contributions, issues and feature requests are welcome!
Feel free to check issues page# Quick start ๐
Clone the repo
```npm install```
```npm run build && npm start```# Tech stack ๐
- TypeScript + ESLint(AirBNB) + Prettier
- Inquirer for the interface
- chalk for terminal colors
- ora for cli spinners
- license for LICENSE generation# ToDo ๐งพ
- More libs (JSDoc, Process Managers, Loggers)
- Add yargs# What i Learned ๐ง
- Building CLI with Inquirer, ora, chalk
- TypeScript & Babel basics
- How to setup Modern Node.js Project
- ESLint, Prettier, tsconf structures
- How npm and yarn work
- Setting up simple Unit tests with Jest, Mocha + Chai
- Writing package manager scripts
- Publishing npm package# License ๐
(c) 2020 Ilya Revenko. [MIT License](https://tldrlegal.com/license/mit-license)