Socket
Socket
Sign inDemoInstall

@outlandish/sanger-components

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@outlandish/sanger-components

Shared Vue components for MalariaGEN.


Version published
Weekly downloads
17
increased by325%
Maintainers
5
Weekly downloads
 
Created
Source

sanger-components

Shared Vue components for MalariaGEN.

Usage in other projects:

  1. npm i @outlandish/sanger-components
  2. Add global css: node_modules/@outlandish/sanger-components/dist/sanger-components.css
  3. import SangerComponents from @outlandish/sanger-components
  4. Vue.use(SangerComponents)

Project setup

  1. cp .npmrc.example .npmrc
  2. Add a FontAwesome Pro token to .npmrc
  3. npm i

Adding a component

  1. Create a new component folder by copying the _component-template folder
  2. Add the component to plugin.js
  3. Demo the component in App.vue

Compiles and hot-reloads for development

npm run serve

Compiles and minifies library for production

npm run build

Runs automatically as part of npm install (via prepare script in package.json)

Outputs reusable component library for use in other sanger projects, with external dependencies (see peerDependencies in package.json)

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Publishing

  • npm version <new version>
  • git push
  • npm publish (this will require logging in to npm, if not already)

FAQs

Package last updated on 17 May 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