1.1.2 • Published 5 years ago

loopback-scripts v1.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Loopback Scripts

What does this do?

It provides a collection of scripts to use in development

How does this work?

First you must install this package through npm

$ npm install loopback-scripts --save

Then you can add a custom npm script to your project package.json file calling loopback-scripts:

{
  ...
  "scripts": {
    "lint": "eslint .",
    "start": "node .",
    "posttest": "npm run lint && nsp check",
    "autoupdate": "NODE_ENV=development loopback-scripts autoupdate"
  },
  ...

After adding the custom npm script you can type in your terminal:

npm run autoupdate

Commands available

CommandPurpose
autoupdateUpdates existing database tables or creates unexisting
1.1.2

5 years ago

1.1.1

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago