New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tsg-garage

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsg-garage

Mobile and desktop angular components

latest
npmnpm
Version
0.6.4
Version published
Maintainers
1
Created
Source

The Garage

A collection of various components and services created for use across multiple angular and Ionic applications.

Example Site

Examples

How to install

Install Garage

-npm install tsg-garage --save

Dependancies

  • Gulp

Garage Module Loader

In order to utilize garage components in your app you must add a loader script into your build process. The script below will copy the components out of the npm package and into a folder called 'garage' in your 'src' folder. This allows the normal Ionic App Scripts to compile the garage module into your app.

Add Gulp Task

Add the following gulp task to copy garage module into src folder

gulp.task('default', function () {
    console.log("Running: Copy TSG-Garage from Node_modules to src/garage");
    return gulp.src('node_modules/tsg-garage/src/garage/**')
               .pipe( gulp.dest('src/garage') );
});

Update NPM Run Scripts to Include Gulp Task

TODO: List a number of useful npm scripts to Add

Include the Garage in any module you want to utilize one of it's features

import { GarageModule } from '../../garage/garage.module';

@NgModule({
  declarations: [
    ],
  imports: [
    GarageModule
  ],
  exports: [
  ]
})
export class ImageBoxPageModule {}

FAQs

Package last updated on 15 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts