Skip to content

Commit

Permalink
supports bower install
Browse files Browse the repository at this point in the history
  • Loading branch information
undead25 committed Aug 3, 2016
1 parent e1b9a31 commit 9ddf670
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
# Alerty
# Alerty [![npm](https://img.shields.io/npm/v/alerty.svg?style=flat-square)](https://www.npmjs.org/package/alerty)

A simple, light and pretty pure javascript for developing browser dialogs and notifications which is following Google's Material Design guidelines. Obviously, it is responsive and no need other library.

## Usage
you can install alerty with npm
```bash
npm install alerty
```
or with bower
```bash
bower install alerty
```

Alternatively, download the package and reference the JavaScript and CSS files manually:

```html
<script src="dist/alerty.min.js"></script>
<link rel="stylesheet" type="text/css" href="dist/alerty.min.css">
<script src="dist/js/alerty.min.js"></script>
<link rel="stylesheet" type="text/css" href="dist/css/alerty.min.css">
```

## Examples
Expand Down
28 changes: 28 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "alerty",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://github.com/undead25/alerty"
},
"description": "A simple, light and pretty pure javascript for developing browser dialogs and notifications which is following Google's Material Design guidelines. Obviously, it is responsive and no need other library",
"main": "dist/css/alerty.min.css, dist/js/alerty.min.js",
"authors": [
"undead25"
],
"license": "MIT",
"keywords": [
"alertyjs",
"alerty",
"alert",
"confirm",
"dialog",
"toasts",
"prompt"
],
"homepage": "https://github.com/undead25/alerty",
"ignore": [
"**/.*",
"node_modules"
]
}

0 comments on commit 9ddf670

Please sign in to comment.