0.4.0 • Published 5 years ago
next-plop v0.4.0
next-plop
This is in active development and does not work yet.
Configurable code generation for next.js.
Usage
# With npx (easiest, no installation required)
npx next-plop
# or, installed globally
npm i -g next-plop # yarn add -g next-plop
# or, installed locally (alias with a package.json script "next-plop" : "next-plop")
npm --save-dev next-plop # yarn add -D next-plop
Getting Started
The first time you run next-plop
you will be prompted to configure your application. This configuration will generate a local .nextplop.json
file which holds all the settings. You may edit this file yourself anytime! Be sure to check it into your project if you want others to share your settings, or add it to your .gitignore
if you only want to use next-plop
locally.
Supported Settings
typescript
: true/falsesrcDirectory
: true/falsefileCasing
: camelCase,snakeCase,kebabCase,pascalCase,lowerCase