Socket
Socket
Sign inDemoInstall

@yumemi-inc/generate-next-cli

Package Overview
Dependencies
149
Maintainers
13
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @yumemi-inc/generate-next-cli

nextのディレクトリ構造を保った対話型自動生成パッケージ


Version published
Maintainers
13
Created

Readme

Source

nextのディレクトリ構造を保った対話型自動生成パッケージ

下記のパッケージのwrapperです。

https://www.npmjs.com/package/generate-react-cli

getting started

npm install @yumemi-inc/generate-next-cli
npx generate-next-cli --init

設定ファイル

generate-react-cliのConfig File を参考に生成お願いします。

コマンド一覧

初期化

npx generate-next-cli --init

ページの生成

src/pagesへ生成を指示します

npm install @yumemi-inc/generate-next-cli -g page

下記から選択が可能です

  • ISR
  • CSR
  • SSR
  • API

コンポーネントの生成

src/componentsへ生成を指示します

npm install @yumemi-inc/generate-next-cli -g component

下記のファイルを選択的に生成をすることが可能です

  • component(index)
  • style (scss)
  • unit test
  • types
  • lazy(非同期読み込みコンポーネント)
  • hooks

generate-next-cli

FAQs

Last updated on 03 Feb 2023

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc