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

0.10.2
latest
npmnpm
Version published
Weekly downloads
0
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, --org <org>name of the organization
-r, --registry <registry>registry to publish the modulenpm, github, nonenone
-p, --package-manager <package-manager>package managernpm, yarn, pnpmyarn
-a, --access <access>access level of the modulepublic, restrictedpublic
-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 the following:

  • babel to transpile the code.
  • jest to write unit tests.
  • rollup to bundle the code.
  • commitizen & commitlint to optimize your commit message.
  • prettier to automatically format the code.
  • eslint to catch the error.
  • 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 09 Sep 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.