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

@kite-tech/components

Package Overview
Dependencies
Maintainers
6
Versions
861
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kite-tech/components

Shared components to be used throughout Kite front end apps.

  • 7.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-94.55%
Maintainers
6
Weekly downloads
 
Created
Source

Kite Components

Shared Angular components, SCSS styles and SVGs to be used throughout Kite front end apps.

The app contains an example page where examples of the components can be seen.

Tables of contents

  • Examples
  • Requirements
  • Development
  • Usage

Examples

To view examples of the various versions of the app go to:

Requirements

  • Node v8+
  • Npm 5+
  • Gulp v3

Development

  • Clone the app

  • npm i install dependencies

  • npm start run development server and watch for file changes

  • npm run build:dist build dist versions of the app for each partner

  • npm t runs tests

  • npm run test:watch runs tests and watches for changes

  • npm run test:dist runs tests and produces code coverage

Usage

Components

  • npm i @kite-tech/components --save: install via NPM
import {
    FocusOnInitModule,
    ModalModule,
    SvgHrefModule,
} from '@kite-tech/components';

Styles

  • npm i @kite-tech/components --save: install via NPM

Include via SCSS

@import './node_modules/@kite-tech/components/styles/components/components.text';
@import './node_modules/@kite-tech/components/styles/components/components.title';
@import './node_modules/@kite-tech/components/styles/components/components.icons';
@import './node_modules/@kite-tech/components/styles/components/components.button';
@import './node_modules/@kite-tech/components/styles/components/components.modal';
@import './node_modules/@kite-tech/components/styles/components/components.loading-spinner';

Commit linting

We use the config-conventional setup to lint the commits. See details of this here:

Publishing

When running npm publish, the prepublishOnly script will run. If the version contains text e.g 2.0.1-alpha.1, nothing will happen. However if the version doesn't have any tags, e.g 2.0.1 then the script will do the following:

  • Go to the gh-pages branch
  • Merge in the changes from the current branch
  • Build a dist version of the components in the folder /docs/{{version-number}}
  • Create a README.md file in the docs/{{version-number}} folder detailing the changelog and the previous version
  • Update the index.html of the docs directory with links to the new version
  • Push the changes to the gh-pages branch and switch back to the original branch.

FAQs

Package last updated on 23 Jan 2023

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