Installation
npm install -g shit-cli
if you install locally, you need to add scripts
Usage
-
shit -v
||shit --version
to check version
-
shit new project-name
creates a new project
-
shit module module-name
||shit m module-name
creates a new module insidecomponents
folder
-
shit service service-name module-name
||shit s service-name module-name
to create a service insidecomponents/module-name/services
-
shit model model-name
to create a model insidemodels
folder
-
shit route route-name
to create a route insideroutes
folder
To update to latest versions of all packages inside package.json
npm install -g npm-check-updates
ncu -u
source: https://github.com/raineorshine/npm-check-updates