New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nordhealth/components

Package Overview
Dependencies
Maintainers
2
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nordhealth/components

This package includes Nord Design System web components

  • 1.0.0-alpha.18
  • npm
  • Socket score

Version published
Weekly downloads
870
increased by12.4%
Maintainers
2
Weekly downloads
 
Created
Source

Tests Build and deploy

Nord Web Components

The component package found from packages/components is built with Stencil.js, a compiler and toolchain for building web components. The component source code is written in TypeScript + JSX (TSX), with stylesheets written in CSS.

The following are the most commonly used commands during development:

  • npm start - Compile components, start watching for changes, start local development server.
  • npm run build - Builds the project.
  • npm test - Run all tests once.
  • npm test [component-name] - Run tests for specific component once.
  • npm test --watch - Run all tests and watch for changes.
  • npm test --watch [component-name] - Run tests for a specific component and watch for changes.
  • npm test -u - Updates all failing screenshot snapshots. I sure hope you know what you’re doing. ;-)

The local development server started by npm start serves a file located at /packages/components/src/index.html. Any local changes or new components are available on this page, so this can be used as a testing ground when developing.

To create a new component

  • Add directory for component under src/components/[component-name].
  • Add [component-name].tsx.
  • Add [component-name].css.
  • Add [component-name].e2e.ts.
  • Add readme.md.

License

See license in LICENSE.md

Copyright © 2021 Nordhealth Ltd

FAQs

Package last updated on 10 Aug 2021

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