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

dashing-framework

v1.13.0

Published

Style framework for Dash

Downloads

13

Readme

Dashing

Stylish framework for web apps

GitHub version Bower version npm version

Browser Support

| Chrome | Edge | Firefox | Opera | IE | Safari | |--------|------|---------|-------|----|--------| | Latest | Latest | Latest | Latest | IE 11+ | Safari 8+ |

Getting Started

Install the Component

The Dashing Framework is delivered as a bower component. Note that Bower requires node, npm and git. If you don't yet have these installed, do this first.

  1. Install bower
npm install -g bower
  1. Create a bower.json file
  bower init

Note: You will be asked to create a title, description, and other information about the file. You can simply just hit enter to skip through a lot of these, or fill them out if you wish. The last three questions will be yes/no, just respond y to all of them.

  1. Install the dashing bower component. This will install the Dashing files in your project's bower_components folder.
bower install dashing --save

Setting up your project with SASS

Sass is a great way to keep your project clean, organized and easy-to-manage. If you are unfamiliar with the workings of Sass, learn more here.

Including Dashing Styles

Copy and paste the following code snippet into your project. This will pull in normalize, along with Dashing base and module styles.

Note: If you wish to overwrite Dashing styles to add customization your project, skip through this step and head to the next section.

@import "/bower_components/dashing/sass/vendor/normalize";
@import "/bower_components/dashing/sass/base/base";
@import "/bower_components/dashing/sass/modules/modules";

Including Custom Styles

While the Dashing Style Framework does provide a lot of core modules for you to utilize, it most likely won't have everything you need. Follow the SMACSS syntax in order to add a clean, organized structure to your custom stylesheets.

  1. Create five individual folders, named base, layout, modules, state and theme.

  2. Within each folder, create a stylesheet to match. (e.g. You would create a base.scss file within your base folder).

  3. Import everything to your main application folder. When you're all finished, it should look something like this:

@import "/bower_components/dashing/sass/vendor/normalize";
@import "/bower_components/dashing/sass/base/base";
@import "theme/theme";
@import "/bower_components/dashing/sass/modules/modules";

@import "base/base";
@import "layout/layout";
@import "modules/modules";
@import "state/state";

Note: By including a theme file, your modules will now look to that for color theming, rather than base.

Setting up your HTML file and importing styles

We've provided a starter HTML file to help you get running. Paste this code into your index.html file.

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- These previous two meta tags *must* come first in the head -->
    <title>Dashing Template</title>

    <!-- Working with CSS – Use this link if prefer to use the vanilla css, without any customization -->
    <link rel="stylesheet" href="/bower_components/dashing/dashing.css">

    <!-- Working with SCSS – Use this if you'd like to add any customization to the dashing modules. Note: The path and file name may differ for your project. -->
    <link rel="stylesheet" href="styles/application.css">
  </head>
  <body>
    <h1>Hello, world!</h1>
  </body>
</html>

What's Included

Every module contains an example file that allows you to preview the look and feel of each feature.

Base Styles
Modules


Development

Clone the repository with git

git clone https://github.com/dashframework/dashing.git
bower install
npm install

Running the project

./dashutilitiy.sh
npm run webpack

Releasing a new version

  1. Build the Sass and compress the CSS
sass --watch dashing.scss:dashing.css --style compressed
sass -w example/sass/example.scss:example/css/example.css
  1. Update the version number in the bower.json and package.json files (See here for versioning conventions)

  2. Stage the changes to be committed

git add .
  1. Commit the changes made in the previous steps
git commit -m "[message]"
  1. Tag the commit with the appropriate version number
git tag vX.Y.Z
  1. Push your committed changes
git push
  1. Push your new tag
git push --tags
  1. Push your new npm package
npm publish

Found a Bug?

Submit an issue if you need help, or submit a pull request with your own fixes or changes.

Contributors

Dashing is a product of Samaritan Ministries International.

Thanks to the following people who have contributed to this project:

License

MIT License