initiate jest

This commit is contained in:
Shigma
2019-04-03 15:20:53 +08:00
parent 62814ad5bf
commit 89c3f8b034
5 changed files with 13 additions and 0 deletions
+1
View File
@@ -5,3 +5,4 @@ node_modules
TODOs.md
packages/@vuepress/shared-utils/lib/
types
**/.vuepress/dist
+1
View File
@@ -34,6 +34,7 @@
"@vuepress/markdown": "^1.0.0-alpha.46",
"@vuepress/markdown-loader": "^1.0.0-alpha.46",
"@vuepress/plugin-last-updated": "^1.0.0-alpha.46",
"@vuepress/plugin-public-files": "^1.0.0-alpha.46",
"@vuepress/plugin-register-components": "^1.0.0-alpha.46",
"@vuepress/shared-utils": "^1.0.0-alpha.46",
"autoprefixer": "^7.1.2",
@@ -0,0 +1,5 @@
module.exports = {
plugins: [
[require('../../..')]
]
}
@@ -0,0 +1,3 @@
<template>
<Content />
</template>
@@ -11,6 +11,9 @@
"url": "git+https://github.com/vuejs/vuepress.git",
"directory": "packages/@vuepress/plugin-public-files"
},
"scripts": {
"jest": "jest .*\\.spec\\.js$"
},
"keywords": [
"documentation",
"vue",