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

@intelligentgrowthsolutions/eco

Package Overview
Dependencies
Maintainers
1
Versions
1051
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intelligentgrowthsolutions/eco

Eco Design System for Intelligent Growth Solutions

  • 0.0.1
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eco design system

This is a design system/component library for using across IGS web projects. It's built using Stencil and documented using Storybook.

Using eco

Using eco in your project should be fairly easy. It will be an npm package and once you integrate with your framework of choice it should be as simple as using <eco-button></eco-button> where you want.

Running eco locally

git clone git@ssh.dev.azure.com:v3/IGS-Agri/Agri/eco

cd eco
npm install

# To run Stencil - compiling, creating and testing
npm start

# To run Storybook
npm run storybook

Note: You may/will probably want to run both of those at once.

Storybook doesn't support hot reloading with web-components so you do need to refresh the page after changes to *.stories.js files.

Making changes to eco

Get Stencil running:

npm start

To build the component for production, run:

npm run build

To run the unit tests for the components, run:

npm test

Documenting stories in Storybook

Refer to the storybook docs and/or copy and adjust one of the existing ones.

Testing eco components locally before publishing

Assuming a folder structure of:

/code
    /fms
    /eco

Using npm link we can use the local version of eco rather than the published module. To link eco to the fms angular front end:

cd fms/src/Web/angular
npm link ../../../../eco

Don't push the updated version of package.json - it should always point to the published version of eco.

FAQs

Package last updated on 12 Nov 2020

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