2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-22 10:30:34 +03:00

Separate documentation dependencies (#874)

* separate documentation dependencies

* bump deps

* update netlify config and package scripts

* bump netlify

* add cross-env

* fix publish path
This commit is contained in:
Jeff Sagal
2019-05-05 16:51:23 -07:00
committed by GitHub
parent 7b70b966ff
commit 3928b015a9
5 changed files with 8799 additions and 2655 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"name": "@vue-select/docs",
"version": "1.0",
"license": "MIT",
"scripts": {
"serve": "vuepress dev",
"build": "vuepress build",
"build:preview": "cross-env DEPLOY_PREVIEW=true vuepress build"
},
"devDependencies": {
"@vuepress/plugin-active-header-links": "^1.0.0-alpha.47",
"@vuepress/plugin-google-analytics": "^1.0.0-alpha.47",
"@vuepress/plugin-nprogress": "^1.0.0-alpha.47",
"@vuepress/plugin-pwa": "^1.0.0-alpha.47",
"@vuepress/plugin-register-components": "^1.0.0-alpha.47",
"@vuepress/plugin-search": "^1.0.0-alpha.47",
"cross-env": "^5.2.0",
"fuse.js": "^3.4.4",
"gh-pages": "^0.11.0",
"node-sass": "^4.12.0",
"sass-loader": "^7.1.0",
"vue": "^2.6.10",
"vuepress": "^1.0.0-alpha.47",
"vuex": "^3.1.0"
}
}
+8689
View File
File diff suppressed because it is too large Load Diff
+9 -11
View File
@@ -1,27 +1,25 @@
# Global settings applied to the whole site. # Settings in the [build] context are global and are applied to all contexts
# # unless otherwise overridden by more specific contexts.
# “publish” is the directory to publish (relative to root of your repo), # @see https://www.netlify.com/docs/netlify-toml-reference/
# “command” is your build command,
[build] [build]
base = "docs"
publish = "docs/.vuepress/dist" publish = "docs/.vuepress/dist"
command = "rm -rf node_modules && rm -rf package-lock.json && yarn && yarn build:docs" command = "yarn build"
# Deploy Preview context # Deploy Preview context
# #
# All deploys resulting from a pull/merge request will # All deploys resulting from a pull/merge request will
# inherit these settings. # inherit these settings.
[context.deploy-preview] [context.deploy-preview]
publish = "docs/.vuepress/dist" command = "yarn build:preview"
command = "rm -rf node_modules && rm -rf package-lock.json && yarn && yarn build:preview"
# Branch Deploy context: all deploys that are not from a pull/merge request or # Branch Deploy context: all deploys that are not from a pull/merge request or
# from the Production branch will inherit these settings. # from the Production branch will inherit these settings.
[context.branch-deploy] [context.branch-deploy]
base = "/" command = "yarn build:preview"
command = "rm -rf node_modules && rm -rf package-lock.json && yarn && yarn build:preview"
# Redirects # Redirects and headers are GLOBAL for all builds they do not get scoped to
# @see https://www.netlify.com/docs/netlify-toml-reference/ # contexts no matter where you define them in the file.
[[redirects]] [[redirects]]
from = "/guide/templating.html" from = "/guide/templating.html"
to = "/guide/slots.html" to = "/guide/slots.html"
+4 -14
View File
@@ -8,10 +8,10 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"serve": "webpack-dev-server --config build/webpack.dev.conf.js --hot --progress -d", "serve": "webpack-dev-server --config build/webpack.dev.conf.js --hot --progress -d",
"serve:docs": "vuepress dev docs", "serve:docs": "cd docs && yarn serve",
"build": "cross-env NODE_ENV=production webpack --config build/webpack.prod.conf.js --progress", "build": "cross-env NODE_ENV=production webpack --config build/webpack.prod.conf.js --progress",
"build:docs": "vuepress build docs", "build:docs": "cd docs && yarn build",
"build:preview": "cross-env DEPLOY_PREVIEW=true vuepress build --debug docs", "build:preview": "cd docs && yarn build",
"test": "jest" "test": "jest"
}, },
"repository": { "repository": {
@@ -30,12 +30,6 @@
"@babel/preset-env": "^7.4.2", "@babel/preset-env": "^7.4.2",
"@babel/runtime": "^7.4.2", "@babel/runtime": "^7.4.2",
"@vue/test-utils": "^1.0.0-beta.29", "@vue/test-utils": "^1.0.0-beta.29",
"@vuepress/plugin-active-header-links": "^1.0.0-alpha.47",
"@vuepress/plugin-google-analytics": "^1.0.0-alpha.47",
"@vuepress/plugin-nprogress": "^1.0.0-alpha.47",
"@vuepress/plugin-pwa": "^1.0.0-alpha.47",
"@vuepress/plugin-register-components": "^1.0.0-alpha.47",
"@vuepress/plugin-search": "^1.0.0-alpha.47",
"autoprefixer": "^9.4.7", "autoprefixer": "^9.4.7",
"babel-core": "^7.0.0-bridge.0", "babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.5", "babel-loader": "^8.0.5",
@@ -44,15 +38,13 @@
"cross-env": "^5.2.0", "cross-env": "^5.2.0",
"css-loader": "^2.1.0", "css-loader": "^2.1.0",
"cssnano": "^4.1.10", "cssnano": "^4.1.10",
"fuse.js": "^3.2.0",
"gh-pages": "^0.11.0",
"html-loader": "^0.5.5", "html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^3.2.0",
"jest": "^24.1.0", "jest": "^24.1.0",
"jest-serializer-vue": "^2.0.2", "jest-serializer-vue": "^2.0.2",
"jest-transform-stub": "^2.0.0", "jest-transform-stub": "^2.0.0",
"mini-css-extract-plugin": "^0.5.0", "mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.10.0", "node-sass": "^4.12.0",
"postcss-loader": "^3.0.0", "postcss-loader": "^3.0.0",
"postcss-scss": "^2.0.0", "postcss-scss": "^2.0.0",
"sass-loader": "^7.1.0", "sass-loader": "^7.1.0",
@@ -65,8 +57,6 @@
"vue-server-renderer": "^2.6.10", "vue-server-renderer": "^2.6.10",
"vue-style-loader": "^4.1.2", "vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.10", "vue-template-compiler": "^2.6.10",
"vuepress": "^1.0.0-alpha.47",
"vuex": "^3.1.0",
"webpack": "^4.29.6", "webpack": "^4.29.6",
"webpack-cli": "^3.3.0", "webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.2.1", "webpack-dev-server": "^3.2.1",
+71 -2630
View File
File diff suppressed because it is too large Load Diff