diff --git a/.gitignore b/.gitignore index a0dddc6..5e5a80e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ .DS_Store node_modules /dist +/build # local env files .env.local diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..8fc4987 --- /dev/null +++ b/LICENCE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 maronato + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/package-lock.json b/package-lock.json index c516ae0..3614496 100644 --- a/package-lock.json +++ b/package-lock.json @@ -850,12 +850,12 @@ } }, "@hapi/topo": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-3.1.5.tgz", - "integrity": "sha512-bi9m1jrui9LlvtVdLaHv0DqeOoe+I8dep+nEcTgW6XxJHL3xArQcilYz3tIp0cRC4gWlsVtABK7vNKg4jzEmAA==", + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-3.1.6.tgz", + "integrity": "sha512-tAag0jEcjwH+P2quUfipd7liWCNX2F8NvYjQp2wtInsZxnMlypdw0FtAOLxtvvkO+GSRRbmNi8m/5y42PQJYCQ==", "dev": true, "requires": { - "@hapi/hoek": "8.x.x" + "@hapi/hoek": "^8.3.0" } }, "@intervolga/optimize-cssnano-plugin": { diff --git a/package.json b/package.json index 2d3a16a..b566ed9 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,13 @@ "name": "vue-toast", "version": "0.1.0", "private": true, + "main": "./dist/vue-toast.umd.min.js", "scripts": { "serve": "vue-cli-service serve", + "watch": "vue-cli-service serve", "build": "vue-cli-service build", - "lint": "vue-cli-service lint" + "lint": "vue-cli-service lint", + "compile": "vue-cli-service build --target lib --dest dist/ --name vue-toast ./src/index.js" }, "dependencies": { "core-js": "^2.6.5", @@ -42,5 +45,19 @@ "browserslist": [ "> 1%", "last 2 versions" - ] + ], + "files": [ + "dist/*" + ], + "author": "Gustavo Maronato", + "license": "MIT", + "keywords": [ + "vue", + "notification", + "toast" + ], + "bugs": { + "url": "https://github.com/Maronato/vue-toast/issues" + }, + "homepage": "https://github.com/Maronato/vue-toastn#readme" } diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..af19fef --- /dev/null +++ b/public/index.html @@ -0,0 +1,17 @@ + + +
+ + + + +
+ For a guide and recipes on how to configure / customize this project,
+ check out the
+ vue-cli documentation.
+