0.0.13 • Published 4 months ago

@medyll/dev-env v0.0.13

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

@medyll/dev-env

This is a script for setting up and configuring various packages in a Javascript/Node.js project for @medyll environment. It automates the process of initializing a Git repository, installing necessary packages, and configuring them for your development environment.

Usage

npx @medyll/dev-env

Details

The installer performs the following tasks:

  • Git Initialization: If necessary, it initializes a Git repository.

  • Packages Installation.
    It installs a series of packages:
    - husky, - commitizen, - standardVersion - commitlint - svelte@latest

  • Package Configuration: The postInstall function configures each package after its installation. The specific configurations depend on the package:

    • Svelte:

      • Executes npm i to post install the package.
    • husky:

      • Installs Husky with npm i.
      • Adds a Husky commit hook.
      • Modifies the .husky/pre-commit file to comment out the npm test line.
      • Installs inquirer with npm i inquirer.
      • Copies a commit.js file to the scripts directory.
      • Adds a commit script to package.json that executes node scripts/commit.js.
    • commitlint:
    • Standard Version: Adds a release script to package.json that executes standard-version.

For more details, refer to the source code.

0.0.13

4 months ago

0.0.12

4 months ago

0.0.11

4 months ago