Explorar o código

v2.1.0

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan %!s(int64=5) %!d(string=hai) anos
pai
achega
90dc036fb9
Modificáronse 2 ficheiros con 10 adicións e 10 borrados
  1. 9 8
      README.md
  2. 1 2
      package.json

+ 9 - 8
README.md

@@ -4,7 +4,7 @@
 
 
 ## Installation
 ## Installation
 
 
-`npm install --save  --production toasters`
+`npm install --save --production toasters`
 
 
 ## Usage
 ## Usage
 
 
@@ -12,9 +12,9 @@
 
 
 ```html
 ```html
 <div id="toasts-container" class="position-right position-bottom">
 <div id="toasts-container" class="position-right position-bottom">
-	<div id="toasts-content">
-		<!-- toasts will be added or removed from here -->
-	</div>
+  <div id="toasts-content">
+    <!-- toasts will be added or removed from here -->
+  </div>
 </div>
 </div>
 ```
 ```
 
 
@@ -24,8 +24,8 @@
 import Toast from "toasters";
 import Toast from "toasters";
 
 
 new Toast({
 new Toast({
-	content: "Hello World",
-	persistant: true
+  content: "Hello World",
+  persistant: true
 });
 });
 ```
 ```
 
 
@@ -34,6 +34,7 @@ new Toast({
 ![preview of visible toast on webpage](https://i.imgur.com/7kIH6Oi.png)
 ![preview of visible toast on webpage](https://i.imgur.com/7kIH6Oi.png)
 
 
 ## Potential future additions
 ## Potential future additions
+
 - Design improvements
 - Design improvements
 - Error handling (i.e. you haven't provided any content for the toast)
 - Error handling (i.e. you haven't provided any content for the toast)
 - Ability to parse markdown or html
 - Ability to parse markdown or html
@@ -43,7 +44,7 @@ new Toast({
 
 
 ## Contributing
 ## Contributing
 
 
-``` bash
+```bash
 # install dependencies
 # install dependencies
 npm install
 npm install
 
 
@@ -52,4 +53,4 @@ npm run dev
 
 
 # build for production with minification
 # build for production with minification
 npm run build
 npm run build
-```
+```

+ 1 - 2
package.json

@@ -7,7 +7,6 @@
     "type": "git",
     "type": "git",
     "url": "git+https://github.com/jonathan-grah/vue-roaster.git"
     "url": "git+https://github.com/jonathan-grah/vue-roaster.git"
   },
   },
-  "publishConfig": { "registry": "https://npm.pkg.github.com/" },
   "description": "Toast alerts (initially developed for Vue.js with a material-design style)",
   "description": "Toast alerts (initially developed for Vue.js with a material-design style)",
   "devDependencies": {
   "devDependencies": {
     "@babel/core": "^7.5.5",
     "@babel/core": "^7.5.5",
@@ -25,5 +24,5 @@
     "build": "webpack --mode=production --progress --hide-modules",
     "build": "webpack --mode=production --progress --hide-modules",
     "dev": "webpack --mode=development --watch"
     "dev": "webpack --mode=development --watch"
   },
   },
-  "version": "2.0.1"
+  "version": "2.1.0"
 }
 }