@arcticleaf/gulp-loopback-sdk-angular

1.1.2 • Public • Published

gulp-loopback-sdk-angular Build Status

⚠️ LoopBack 3 has reached end of life. We are no longer accepting pull requests or providing support for community users. The only exception is fixes for critical bugs and security vulnerabilities provided as part of support for IBM API Connect customers. (See Module Long Term Support Policy below.)

We urge all LoopBack 3 users to migrate their applications to LoopBack 4 as soon as possible. Refer to our Migration Guide for more information on how to upgrade.

Overview

Arctic Leaf's fork of the gulp plugin for auto-generating Angular $resource services for LoopBack. This is a port of the Grunt plugin here

Install

$ npm install --save-dev @arcticleaf/gulp-loopback-sdk-angular

Usage

var gulp = require('gulp');
var rename = require('gulp-rename');
var loopbackAngular = require('gulp-loopback-sdk-angular');

gulp.task('default', function () {
	return gulp.src('./server/app.js')
    .pipe(loopbackAngular())
    .pipe(rename('lb-services.js'))
    .pipe(gulp.dest('./client/js'));
});

API

loopbackAngular(options)

options

options.ngModuleName

Type: String Default: lbServices

Name for the generated AngularJS module.

options.apiUrl

Type: String Default: The value configured in the LoopBack application via app.set('restApiRoot') or /api

Everything Else

http://docs.strongloop.com/display/LB/AngularJS+JavaScript+SDK

License

MIT © Zi Ming Lin

Module Long Term Support Policy

This module adopts the Module Long Term Support (LTS) policy, with the following End Of Life (EOL) dates:

Version Status Published EOL
1.x End-of-Life Jun 2018 Dec 2020

Learn more about our LTS plan in the docs.

/@arcticleaf/gulp-loopback-sdk-angular/

    Package Sidebar

    Install

    npm i @arcticleaf/gulp-loopback-sdk-angular

    Weekly Downloads

    0

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    7.02 kB

    Total Files

    4

    Last publish

    Collaborators

    • braydengirard_ali
    • jeffbacon.arcticleaf
    • stevekanter
    • support-arcticleaf
    • leosouzanunes