npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

com.christiangrete.libs.scss

v0.0.5

Published

[![Node.js Module Version](https://img.shields.io/npm/v/com.christiangrete.libs.scss.svg)](https://www.npmjs.com/package/com.christiangrete.libs.scss) [![Bower Component Version](https://img.shields.io/bower/v/com.christiangrete.libs.scss.svg)](http://bow

Downloads

3

Readme

com.christiangrete.libs.scss

Node.js Module Version Bower Component Version

The SCSS Library for christiangrete.com

This library is provided as an artifact to be installed as a dependency into your project and will not generate any CSS code. It is authored in SCSS syntax and consists of configurable functions and mixins that will extend the native set of Sass utilities and provide many helpful cross-browser solutions to improve your workflow in a simple way without worrying about vendor prefixes. It is also inspired by other programming languages and modular, object-oriented concepts and tries to concur with the CSS specs in the best possible way.

Getting started

Installation

Install this library as a dependency to your project using Bower:

$ bower install --save-dev com.christiangrete.libs.scss

Alternatively, this library is also available using npm:

$ npm install --save-dev com.christiangrete.libs.scss

For whatever reason you want to use Composer, this library can be installed from its GitHub repository since version 0.0.3 using the repositories.vcs property in your composer.json file as well. See Composer docs for further information.

Usage

In case of using Bower, this library is installed as a subfolder to your Bower components directory, that defaults to bower_components. All you need to do is importing the library.scss file that is located topmost in the before mentioned subfolder:

@import 'bower_components/com.christiangrete.libs.scss/dist/library';

Otherwise, when using npm, it is installed as a subfolder to your Node.js modules directory, called node_modules. In this case, you need to import the library.scss file that is located topmost in the following subfolder:

@import 'node_modules/com.christiangrete.libs.scss/dist/library';

After that, the library with all its configurations, functions and mixins is available and ready to be used in your stylesheet.

Development

Installation

The following global tools are needed if you do not already have them:

  • Node.js (JavaScript runtime environment)
    • Required by npm, Bower and Grunt (see below)
  • npm (Package manager for Node.js)
    • Will be installed with Node.js by default
    • Used to locally install development dependencies (as described later)
  • Git (Version control system)
    • Used for versioning and loading dependencies
  • Grunt
    • Used for task running and build processes
    • Needs to be globally installed via npm as shown below:
$ npm install -g grunt-cli
  • Bower (Front end component and package manager)
    • Used to locally install components and dependencies (as described later)
    • Needs to be globally installed via npm as shown below:
$ npm install -g bower

Make sure that all required tools are installed, then clone this repository onto your machine:

$ cd /your/desired/directory # Navigate into the folder of your choice, then:
$ git clone [email protected]:ChristianGrete/com.christiangrete.libs.scss.git
$ cd com.christiangrete.libs.scss # Navigate into the project folder

After navigating into the project directory, execute the installer script:

$ sh bin/install.sh # Installs all local dependencies & components

Automation

The following grunt tasks are available:

$ grunt # Runs the “default” task, see below
$ grunt default # The default task — validates the manifest JSON files
$ grunt compile # Compiles the “src/sass” directory for testing purposes
$ grunt uncompile # Deletes the compiled “debug” directory
$ grunt serve # Runs SassDoc, starts a web server with LiveReload
$ grunt build # Generates an artifact for testing purposes
$ grunt unbuild # Deletes the generated “build” directory
$ grunt build --release # Generates an artifact for distribution

License

MIT © Christian Grete