New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@onr/cli

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onr/cli

npmnpm
Version
0.3.1
Version published
Weekly downloads
1
-92.31%
Maintainers
1
Weekly downloads
 
Created
Source


CLI boilerplate for create project file and content with predefined templates for all type of file extensions.

Build Status Dependency Status devDependency Status

Created by Pankod


About

By using the CLI tool, you may easily:

  • Create new files and folders with any file extension,

  • Add predefined content to newly created file by using built-in mustache templating engine.


Getting Started

Run the following method:

npm install

Once the installation is done, you should run the following command for compile Typescript:
npm run build

It saves javascript files to dist folder.


Run the following command for compile typescript code anytime you made changes in code:
npm run watch

Once the installation is done, you can run the following command to start CLI.
npm run start

To customize helper-cli-boilerplate according to the needs of your project:

  • Add a new mustache template to templates folder and define file path to methods in helper.ts.

    More info about mustache.js


TODO:

  • add child page

Outline of some logics behind the methods:

With supported features

1. Page create
- Create page and module place

- Custom alias path for the page

- Auto generate definition file
2. Component create
- can specific component place
3. For both
- can auto export and append to index

- use styled component

FAQs

Package last updated on 19 Jul 2023

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