Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-widgets

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-widgets

A collection of Angular components and other useful things to be shared.

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
41
decreased by-41.43%
Maintainers
1
Weekly downloads
 
Created
Source

ngx-widgets

A collection of Angular components and other useful things to be shared.

You can see how it is used in our application here.

The system we build is composed of several components existing in separate repos but sharing common components, directives, and pipes. These widgets were extracted to provide a shared set of services.

Getting started:

This library does not run on it's own. It must be imported.

npm install ngx-widgets

There are several services and a couple of models used by them available.

container-toggle
dialog
dropdown
editable
icon
infinitescroll

Building it

Install the dependencies:

npm install

If you need to update the dependencies you can reinstall:

npm run reinstall

Run the tests:

npm test

Build the library:

npm run build

Try it out locally.

We found that npm link doesn't fully work. You have to reference the library via file:. But you still need to create the link.

  • Start by running:

    npm link dist

  • Change this:

    "ngx-widgets": "X.X.X"

  • to this:

    "ngx-widgets": "file:///[LOCATION-TO-NODE-MODULES]/.nvm/versions/node/v6.9.1/lib/node_modules/ngx-widgets"

To publish it to NPM:

npm publish dist/
(we don't want to publish the whole repo, just the built parts)

Keywords

FAQs

Package last updated on 15 Feb 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc