# loopback-scripts

> A collection of scripts for everyday use with loopback

Latest version **1.1.2** (published 2019-07-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install loopback-scripts
pnpm add loopback-scripts
yarn add loopback-scripts
bun add loopback-scripts
```

Provides the command `loopback-scripts`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2019-07-15 |
| First published | 2018-05-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Xavi Tristancho |
| Maintainers | xavitb3 |

## Links

- npm: https://www.npmjs.com/package/loopback-scripts
- Repository: https://github.com/xavitb3/loopback-scripts
- Homepage: https://github.com/xavitb3/loopback-scripts#readme
- Issues: https://github.com/xavitb3/loopback-scripts/issues
- npm.io page: https://npm.io/package/loopback-scripts

## Recent versions

- 1.1.2 (latest) — 2019-07-15
- 1.1.1 — 2019-07-15
- 1.0.1 — 2018-05-25
- 1.0.0 — 2018-05-25

## README

## 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

| Command    | Purpose                                                                                                                                              |
|------------|------------------------------------------------------------------------------------------------------------------------------------------------------|
| autoupdate | [Updates existing database tables or creates unexisting](http://apidocs.strongloop.com/loopback-datasource-juggler/#datasource-prototype-autoupdate) |

---
_Source: https://npm.io/package/loopback-scripts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
