diff --git a/.editorconfig b/.editorconfig index 9142239..a0b7dca 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,3 @@ -# editorconfig.org root = true [*] @@ -9,5 +8,6 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true -[*.md] -trim_trailing_whitespace = false +[Makefile] +indent_size = 4 +indent_style = tab diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a5535b7 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +.PHONY: gh-pages + +gh-pages: + rm -rf ./site \ + && mkdocs build \ + && git checkout gh-pages \ + && cp -R ./site/* ./ \ + && rm -rf ./site \ + && git add . \ + && git commit -m "Update docs" + @echo "[✔️] Docs was created and wait for deploy to gh-pages branch!" diff --git a/docs/CNAME b/docs/CNAME deleted file mode 100644 index a674271..0000000 --- a/docs/CNAME +++ /dev/null @@ -1 +0,0 @@ -vue-goodshare.js.org diff --git a/docs/index.md b/docs/index.md index a6cef6e..4954f53 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,12 +25,6 @@ Vue.js-ready™ component. Simple install, **extensive documentation**, develope Beautiful button design **already included**. Just choose one, add attribute to component and save! -## Installation - -``` bash -npm install --save vue-goodshare -``` - ## Developers - Idea and active development by [Vic Shóstak](https://github.com/koddr) (aka Koddr). @@ -41,11 +35,14 @@ If you want to say «thank you» or/and support active development `vue-goodshar 1. Add a GitHub Star to project. 2. Twit about project [on your Twitter](https://twitter.com/intent/tweet?text=I%20found%20%40vuejs%20component%20for%20%23share%20a%20link%20from%20your%20%23website%20to%20%23social%20networks%20and%20mobile%20%23messengers%20%F0%9F%91%8D&url=https%3A%2F%2Fgithub.com%2Fkoddr%2Fvue-goodshare). -3. Help project with some money, become a Patron: +3. Donate some money to project author via PayPal: [@paypal.me/koddr](https://paypal.me/koddr?locale.x=en_EN). +4. Join DigitalOcean at our [referral link](https://m.do.co/c/b41859fa9b6e) (your profit is **$100** and we get $25). + +Thanks for your support! 😘 Together, we make this project better every day. + +### Stargazers over time - - Become a Patron! - +[![Stargazers over time](https://starchart.cc/koddr/vue-goodshare.svg)](https://starchart.cc/koddr/vue-goodshare) ## License diff --git a/package.json b/package.json index 7343e61..800bbe1 100644 --- a/package.json +++ b/package.json @@ -1,27 +1,29 @@ { "name": "vue-goodshare", - "version": "1.3.2", + "version": "1.3.3", "description": "Vue.js component for social share. A simple way to share a link on the pages of your website in the most popular (and not so) social networks.", "main": "src/VueGoodshare.vue", "scripts": { - "docs:prepare": "gitbook install ./src/docs", - "docs:build": "npm run docs:prepare && rm -rf ./docs/* && rm -rf ./src/docs/_book && gitbook build ./src/docs && cp -rf ./src/docs/_book/* ./docs", - "docs:watch": "npm run docs:prepare && gitbook serve ./src/docs" + "test": "echo \"Error: no test specified\" && exit 1" + }, + "dependencies": { + "vue": "^2.6.11" + }, + "devDependencies": { + "css-loader": "^3.4.1", + "node-sass": "^4.13.0", + "sass-loader": "^8.0.0", + "vue-style-loader": "^4.1.2" }, "repository": { "type": "git", "url": "git+https://github.com/koddr/vue-goodshare.git" }, - "dependencies": { - "vue": "^2.6.10" - }, - "devDependencies": { - "css-loader": "^2.1.1", - "gitbook-cli": "^2.3.2", - "node-sass": "^4.11.0", - "sass-loader": "^6.0.7", - "vue-style-loader": "^3.1.2" + "bugs": { + "url": "https://github.com/koddr/vue-goodshare/issues", + "email": "truewebartisans@gmail.com" }, + "homepage": "https://github.com/koddr/vue-goodshare#readme", "keywords": [ "social share buttons", "vue share social", @@ -30,11 +32,6 @@ "vue share", "share" ], - "author": "Vic Shóstak (https://truewebartisans.com)", - "license": "MIT", - "bugs": { - "url": "https://github.com/koddr/vue-goodshare/issues", - "email": "koddr.me@gmail.com" - }, - "homepage": "https://koddr.github.io/vue-goodshare/" + "author": "Vic Shóstak (https://1wa.co)", + "license": "MIT" }