New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@digitalsurgeons/ui-patterns

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digitalsurgeons/ui-patterns

our UI patterns :)

latest
npmnpm
Version
1.1.3
Version published
Maintainers
2
Created
Source

ui-patterns

A fast way to install and maintain our common ui patterns and abstractions.

At the time of this repos creation, installing ui-patterns through npm gives you buttons, forms, grid, header, and typography.

You can see how these components look at http://ui-patterns.digitalsurgeonsdev.com

quick usage

npm install @digitalsurgeons/ui-patterns

include node_modules in your scss path:

node-sass --include-path ./node_modules scss/app.scss public_html/dist/app.css

in your scss file:

@import '@digitalsurgeons/ui-patterns/scss/app'

quick build

git clone git@gitlab.com:digitalsurgeons/ui-patterns.git
npm install
npm run build
npm start

open your browser to http://localhost:8080

browser-sync

site=[site url here] npm run browsersync

updating components

new components can be created by making a scss partial under the scss/components folder.

be sure to include all the dependencies for your new component in the partial and also in scss/app.scss

publishing to npm

how to publish to npm:

  • make your changes
  • bump the version number in package.json (npm version patch | minor | major)
  • push to the master branch
  • gitlab should handle the rest

FAQs

Package last updated on 08 Nov 2016

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