1.3.1 ā€¢ Published 4 months ago

kickstart-it v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

šŸš€ Kickstart

The fastest way to setup your Javascript projects!

npm npm node-current

Kickstart demonstration

In less than a minute and just answering questions, you're able to setup:

āœ… README, Changelog, Commitizen and .gitignore āœ… Husky and lint-staged āœ… Linter (ESLint or StandardJS) and formatter (Prettier) āœ… CSS frameworks (Tailwind, Sass or Material UI) āœ… Unit testing frameworks (Jest or Jasmine) āœ… End-To-End testing frameworks (Cypress or Playwright)

It's all 100% customizable! šŸŽ‰

šŸ”§ Installation

Simply run the command below:

npm install -g kickstart-it

šŸ’” Usage

In a new project folder (it can have git initialized or package.json already, but if it doesn't kickstart will create it), run the command:

kickstart-it [--config=<path-to-file>] [--outputDir=<path-to-directory>]

Flags

  • --config: use a config file (check the next section)
  • --outputDir: define the directory to init your project
    • Should be a path string, i.e. project, ./project, ./dir/project
    • If it's not created, kickstart will create it
    • If it's not specified here or in the config, the default is current directory

Configuration

The config file must be in JSON. It can have the following properties:

P.S.: You don't have to add all of them, just include the ones you need! All false or missing properties, won't be initialized.

PropertyAccepted valuesNote
changelog"keepAChangelog", "conventionalChangelog", false
commitizentrue, falseOnly used if changelog is "conventionalChangelog"
readmetrue, false
gitignoretrue, false
huskytrue, false
language"js", "ts"
type"cjs", "esm"
env"node", "browser"
css"sass", "tailwind", "mui", false
lint"eslint", "standardjs", false
eslint.integratePrettiertrue, falseOnly used if lint is set to "eslint"
eslint.configurationtrue, falseOnly used if lint is set to "eslint"
format"prettier", falseIf eslint.integratePrettier is set, this is unnecessary
lintStagedtrue, falseOnly available if lint or prettier is set
unitTest"jest", "jasmine", false
e2eTest"cypress", "playwright", false
packageManager"npm", "yarn", "pnpm"
outputDirStringPath strings, i.e. project, ./project, ./dir/project

šŸ’¬ Support

Having trouble? Please email me at danilo.vilhena@gmail.com

šŸ‘„ Contributing

Please do! This project is open source, and I greatly appreciate contributions from anyone! So report bugs, suggest new features and open pull requests to improve the current code!

Here's the link for the repo šŸ‘‡ https://github.com/danilovilhena/kickstart-it

šŸ“ Changelog

Please check the CHANGELOG file.

Did this package help you?

Star this repo and share it with your friends.

1.3.1

4 months ago

1.3.0

4 months ago

1.2.1

4 months ago

1.2.0

4 months ago

1.1.1

4 months ago

1.1.0

4 months ago

1.0.3

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago