Skip to content

Commit

Permalink
feat: plugin-notification
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Oct 7, 2018
1 parent 20fbe4f commit 79632c0
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@vuepress/plugin-notification/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
__tests__
__mocks__
3 changes: 3 additions & 0 deletions packages/@vuepress/plugin-notification/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# @vuepress/plugin-notification

> notification plugin for vuepress
6 changes: 6 additions & 0 deletions packages/@vuepress/plugin-notification/client.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import './index.styl'
import Toasted from 'vue-toasted'

export default ({ Vue }) => {
Vue.use(Toasted)
}
5 changes: 5 additions & 0 deletions packages/@vuepress/plugin-notification/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const path = require('path')

module.exports = {
enhanceAppFiles: path.resolve(__dirname, './client.js')
}
Empty file.
28 changes: 28 additions & 0 deletions packages/@vuepress/plugin-notification/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "@vuepress/plugin-notification",
"version": "1.0.0-alpha.4",
"description": "notification plugin for vuepress",
"main": "index.js",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vuepress.git"
},
"keywords": [
"documentation",
"vue",
"vuepress",
"generator"
],
"dependencies": {
"vue-toasted": "^1.1.25"
},
"author": "ULIVZ <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/vuejs/vuepress/issues"
},
"homepage": "https://github.com/vuejs/vuepress/packages/@vuepress/plugin-notification#readme"
}
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9120,6 +9120,10 @@ vue-template-es2015-compiler@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18"

vue-toasted@^1.1.25:
version "1.1.25"
resolved "https://registry.yarnpkg.com/vue-toasted/-/vue-toasted-1.1.25.tgz#27b1f40866d98f8bf817722869f3d97f7c0d4db1"

vue@^2.5.16:
version "2.5.16"
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.16.tgz#07edb75e8412aaeed871ebafa99f4672584a0085"
Expand Down

0 comments on commit 79632c0

Please sign in to comment.