Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@medly/create-module

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medly/create-module

An application for generating either ts module or simple ts app

npmnpm
Version
0.9.2
Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

Create Module

An application for generating either module or simple app. You can also choose between typescript & javascript language.

Getting started

Package ManagerCommand
NPMnpm init @medly/module
Yarnyarn create @medly/module
PNPMpnpx @medly/create-module

Then follow the prompts or you can run command yarn create @medly/module <project-name> [options] with below options.

Options

FlagsDescriptionChoicesDefault
-V, --versionoutput the version number
-o, --owner <owner>owner of the package
-r, --registry <registry>registry to publish the modulenpm, github
-p, --package-manager <package-manager>package managernpm, yarn, pnpmyarn
-l, --language <language>languagetypescript, javascripttypescript
-i, --interactiveshow interactive questionnaire
-h, --helpdisplay help for command

Note: Add NPM_TOKEN as secret in github repo to publish the package.

Features

It sets up below things:

  • babel to transpile the code.
  • jest to write unit tests.
  • rollup to bundle the code.
  • commitizen & commitlint to optimize your commit message.
  • github workflow to automatically publish the package on PR merge.
  • semantic-release to bump the version and update the CHANGELOG.
  • typescript also, if you choose typescript as language option.

create-module

Keywords

Medly

FAQs

Package last updated on 23 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts