@filipeas/artisan

0.3.7 • Public • Published

Artisan

Package for structuring projects with NodeJs and ExpressJs

Dependencies

  1. fs-extra
  2. yargs

Contributors

  1. Filipe A.S

Instalation Guide

Below you can see the instalation methods.

Install with npm (package in production)

For install in your project, use this command: npm i @filipeas/artisan.

To remove it, just delete the import line in package.json and run the command npm install in your project.

PS: You need package.json file in your project.

Install with npm link

Use the command: sudo npm link inside this repository for create a link of the package in your machine.

If you want remove this link, execute: sudo npm rm --global artisan for remove the link of the package in your machine. Check if the package is still installed with command: npm ls --global artisan. If it is not removed, go to the package folder where the link is and manually delete the linked folder.

Commands

Use this commands:

Comand for start initial structure of pattern of artisan package:

  • (yarn or npx) artisan --init

Commands for create some entity:

  • (yarn or npx) artisan --create [directory or entity] usecases [entity]
  • (yarn or npx) artisan --create entity providers
  • (yarn or npx) artisan --create entity repositories
  • (yarn or npx) artisan --create entity domain
  • (yarn or npx) artisan --create entity errors
  • (yarn or npx) artisan --create entity controllers
  • (yarn or npx) artisan --create entity routes

Package Sidebar

Install

npm i @filipeas/artisan

Weekly Downloads

12

Version

0.3.7

License

MIT

Unpacked Size

128 kB

Total Files

72

Last publish

Collaborators

  • filipeas