Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Commit

Permalink
Version 2.1.1
Browse files Browse the repository at this point in the history
Added npm support
Removed unnecessary files from bower/npm installation
  • Loading branch information
corneliucirlan committed Apr 11, 2017
1 parent 5eeb3ed commit f7e432f
Show file tree
Hide file tree
Showing 11 changed files with 194 additions and 15 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ GitHub.sublime-settings
*.css.map

### Prepros ###
prepros.cfg
prepros-6.config

### Bower ###
Expand Down
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Ignore files needed to create the documentation
css
js
img
fonts
index.html
7 changes: 6 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@
"**/.*",
"node_modules",
"bower_components",
"css",
"fonts",
"img",
"js",
"test",
"tests"
"tests",
"index.html"
],
"devDependencies": {
"bootstrap": "v4.0.0-alpha.6",
Expand Down
6 changes: 3 additions & 3 deletions css/_main.sass
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ main.container-fluid
footer
color: $link-color

.btn-link
transition: all ease-in-out 200ms
a
@include transition
color: $link-color

&:hover
color: darken($link-color, 30%)
color: darken($brand-primary, 10%)
text-decoration: none

padding: 2rem 0
Expand Down
147 changes: 141 additions & 6 deletions css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/style.sass
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@import "font-awesome"

// Prism
@import "../bower_components/prism/themes/prism.css"
@import "../bower_components/prism/themes/prism"

// Menu
@import '../src/css/jquery-mdstrap.sass'
Expand Down
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ <h2>Instalation</h2>
<p>The install process is relativelly easy, regardless of which installation method you choose. The end result will be the same.</p>
<h3>Using Bower</h3>
<pre class="language-powershell"><code>$ bower install jquery-mdstrap</code></pre>
<p>This command will install the plugin files into the default <code class="language-markup">bower_components/</code> folder. You will then find the necessary files into the <code class="language-markup">dist/</code> folder.</p>
<h3>Using npm</h3>
<pre class="language-powershell"><code>$ npm install jquery-mdstrapp</code></pre>
<p>Running any of this commands will download the plugin into their respective location.</p>
<h3>Manual installation</h3>
<p>If you don't feel comfortable with using Bower, you can install the plugin manually. <a href="https://github.com/corneliucirlan/mdstrap/releases" target="_blank">Download from here</a> in a <code class="language-markup">.zip</code> format and unzip the file. Place the contents of the <code class="language-markup">dist/</code> folder into your project.</p>

Expand Down
31 changes: 31 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "jquery-mdstrap",
"version": "2.1.1",
"description": "jQuery plugin built on top of Bootstrap framework to create mobile menus similar to Google's Material Design",
"main": "dist/js/jquery-mdstrap.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/corneliucirlan/mdstrap.git"
},
"keywords": [
"jquery",
"bootstrap",
"material",
"design",
"plugin",
"google",
"mobile",
"menu",
"responsive",
"menu"
],
"author": "Corneliu Cirlan <[email protected]> (https://www.corneliucirlan.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/corneliucirlan/mdstrap/issues"
},
"homepage": "https://corneliucirlan.github.io/mdstrap"
}
2 changes: 1 addition & 1 deletion src/css/_jquery-mdstrap.sass
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* jQuery plugin that enables mobile slide navigation for Bootstrap v4 framework
*
* @version 2.1.0
* @version 2.1.1
* @author Corneliu Cirlan (www.corneliucirlan.com)
*/

Expand Down
2 changes: 1 addition & 1 deletion src/js/jquery-mdstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* jQuery plugin that enables mobile slide navigation for Bootstrap v4 framework
*
* @version 2.1.0
* @version 2.1.1
* @author Corneliu Cirlan (www.corneliucirlan.com)
*/

Expand Down
1 change: 1 addition & 0 deletions src/js/jquery-mdstrap.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f7e432f

Please sign in to comment.