dubisdev / create-fw

Light framework generator for your JS projects πŸͺ“

Home Page:https://www.npmjs.com/package/create-fw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CREATE-FW πŸͺ“

Light framework generator for your JS projects πŸͺ“

🧰 ESModules?

⚠️ Create-FW does not generate CommonJS projects since it is a non-standard technology at the time of creation of the tool. Therefore all the generated projects will be using ESModules.


πŸͺ“ INSTALLATION & USAGE

Create-fw can be used in different ways.

Fetch from remote

By using one of the following commands:

Package manager Command
npm npm init fw
npx npx create-fw
yarn yarn create fw

Install

It is also possible to install the package globally and run it using the create-fw command.

Install the package

Package manager Command
npm npm install -g create-fw
yarn yarn global add create-fw

Then run the command

create-fw

🦴 Available Templates

Template Description
Basic Starts a project with a personaliced package.json file
TypeScript Creates a project for working with TS
Jest Creates a project and configures Jest
TS + Jest Creates a TS project and configures Jest
React Creates a React app (Runs create-react-app)

βš™ OPTIONS

πŸ“ Create in folder

You can specify a folder name were the project will be started:

yarn create fw myApp

Generates a folder named "myApp" and starts there the project.

-----

🧰 Package manager

By default the CLI uses the package manager used for invoking the command:

    πŸ‘‰ `yarn create fw` - Uses yarn

    πŸ‘‰ `npm init fw` / `npx create-fw` - Uses npm

πŸ’‘ You can use some flags to change this

  • --yarn: forces the CLI to use yarn as package manager

    npm init framework-generator --yarn # will use yarn
  • --npm: forces the CLI to use npm as package manager

    yarn create fw --npm # will use npm

    -----

πŸ’¨ Fast mode (default options)

The -y flag sets all commands as default. It works like the -y flag in npm init or yarn init: creates the project without asking about personalization to the user.

About

Light framework generator for your JS projects πŸͺ“

https://www.npmjs.com/package/create-fw

License:MIT License


Languages

Language:TypeScript 96.4%Language:JavaScript 3.6%