Skip to content

Commit

Permalink
📝 update VuePress
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Jun 20, 2019
1 parent 98334ed commit d914316
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
7 changes: 3 additions & 4 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/.nyc_output
/coverage
/node_modules

!.vuepress

/coverage
/docs/.vuepress/dist
/node_modules
7 changes: 4 additions & 3 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ module.exports = {
evergreen: true,

plugins: {
"@vuepress/google-analytics": { ga: "UA-12936571-6" },
"@vuepress/last-updated": {},
"@vuepress/pwa": { updatePopup: true },
},

Expand Down Expand Up @@ -50,7 +48,10 @@ module.exports = {
module: {
rules: [
{
test: new RegExp(String.raw`internal[\\/]get-linters\.js$`),
test: new RegExp(
String.raw`internal[\\/]get-linters\.js$`,
"u"
),
loader: "string-replace-loader",
options: {
search: "[\\s\\S]+", // whole file.
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
"devDependencies": {
"@mysticatea/eslint-plugin": "^9.0.1",
"@types/node": "^10.0.4",
"@vuepress/plugin-google-analytics": "^1.0.0-alpha.39",
"@vuepress/plugin-last-updated": "^1.0.0-alpha.39",
"@vuepress/plugin-pwa": "^1.0.0-alpha.39",
"@vuepress/plugin-pwa": "^1.0.1",
"babel-eslint": "^10.0.1",
"codecov": "^3.3.0",
"cross-spawn": "^6.0.5",
Expand All @@ -34,7 +32,7 @@
"rimraf": "^2.6.2",
"string-replace-loader": "^2.1.1",
"vue-eslint-editor": "^0.1.0",
"vuepress": "^1.0.0-alpha.39"
"vuepress": "^1.0.1"
},
"scripts": {
"preversion": "npm test",
Expand Down

0 comments on commit d914316

Please sign in to comment.