Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mould-nuxt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lhfe
mould-nuxt
Commits
2b0d9af9
Commit
2b0d9af9
authored
Apr 01, 2021
by
lipengcheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: darotoon
parent
7558431b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
81 additions
and
67 deletions
+81
-67
nuxt.config.js
nuxt.config.js
+1
-2
package.json.ejs
package.json.ejs
+78
-0
vconsole.js
plugins/vconsole.js
+0
-5
yarn.lock
yarn.lock
+2
-60
No files found.
nuxt.config.js
View file @
2b0d9af9
...
@@ -81,8 +81,7 @@ export default {
...
@@ -81,8 +81,7 @@ export default {
{
src
:
'~/plugins/vue-bus'
},
{
src
:
'~/plugins/vue-bus'
},
'~/plugins/axios/index.js'
,
'~/plugins/axios/index.js'
,
// '~/plugins/axios/index.bak.js',
// '~/plugins/axios/index.bak.js',
'~/plugins/nuxt-client-init.client.js'
,
'~/plugins/nuxt-client-init.client.js'
{
src
:
'~/plugins/vconsole'
,
mode
:
'client'
}
],
],
// Auto import components (https://go.nuxtjs.dev/config-components)
// Auto import components (https://go.nuxtjs.dev/config-components)
...
...
package.json.ejs
0 → 100644
View file @
2b0d9af9
{
"name": "<%= pkgName %>",
"version": "1.0.0",
"author": "<%= author %>",
"description": "<%= description %>",
"private": true,
"files": [
"打包需要的文件"
],
"scripts": {
"dev": "cross-env ENV_MODE=dev NODE_ENV=dev nuxt",
"uat:build": "cross-env ENV_MODE=uat NODE_ENV=uat nuxt build",
"uat:start": "cross-env ENV_MODE=uat NODE_ENV=uat nuxt start",
"pro:build": "cross-env ENV_MODE=pro NODE_ENV=pro nuxt build",
"pro:start": "cross-env ENV_MODE=pro NODE_ENV=pro nuxt start",
"generate": "nuxt generate",
"lint:js": "eslint --ext .js,.vue",
"lint:style": "stylelint **/*.{vue,css,scss,html,htm}",
"lint": "yarn lint:js && yarn lint:style",
"fix:js": "eslint --fix --ext .js,.vue \"**\"",
"fix:style": "stylelint --fix **/*.{vue,css,scss}",
"fix": "yarn fix:js && yarn fix:style ",
"prettier": "prettier --write \"**/*.js\" \"**/*.vue\"",
"format": "yarn prettier && yarn fix",
"commit": "git-cz",
"release:init": "standard-version -f",
"release:patch": "standard-version -r patch",
"release:minor": "standard-version -r minor",
"release:major": "standard-version -r major",
"release:push": "git push --follow-tags",
"analyze": "nuxt build -a"
},
"dependencies": {
"@nuxt/content": "^1.9.0",
"@nuxtjs/axios": "^5.12.2",
"@nuxtjs/dayjs": "^1.2.1",
"@nuxtjs/proxy": "^2.0.1",
"@nuxtjs/pwa": "^3.0.2",
"@nuxtjs/style-resources": "^1.0.0",
"@nuxtjs/toast": "^3.3.1",
"clipboard": "^2.0.6",
"core-js": "^3.6.5",
"cross-env": "^7.0.2",
"eslint-plugin-prettier": "^3.1.4",
"lint-staged": "^10.5.3",
"nuxt": "^2.14.6",
"swiper": "^3.4.2",
"vant": "^2.11.1",
"vue-bus": "^1.2.1"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@ls-lint/ls-lint": "^1.9.2",
"@nuxtjs/eslint-config": "^3.1.0",
"@nuxtjs/eslint-module": "^2.0.0",
"@nuxtjs/stylelint-module": "^4.0.0",
"babel-eslint": "^10.1.0",
"babel-plugin-import": "^1.13.3",
"commitizen": "^4.2.0",
"cz-customizable": "^6.3.0",
"eslint": "^7.10.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-nuxt": "^1.0.0",
"husky": "^4.3.0",
"postcss-pxtorem": "^5.1.1",
"prettier": "^2.1.2",
"sass": "^1.29.0",
"sass-loader": "^10.1.0",
"standard-version": "^9.0.0",
"stylelint": "^13.8.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recess-order": "^2.3.0",
"stylelint-config-sass-guidelines": "^7.1.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-selector-bem-pattern": "^2.1.0"
}
}
plugins/vconsole.js
deleted
100644 → 0
View file @
7558431b
import
VConsole
from
'vconsole'
export
default
({
$config
},
inject
)
=>
{
return
$config
.
ENV_MODE
===
'pro'
?
{}
:
new
VConsole
()
}
yarn.lock
View file @
2b0d9af9
...
@@ -843,7 +843,7 @@
...
@@ -843,7 +843,7 @@
"@babel/types" "^7.4.4"
"@babel/types" "^7.4.4"
esutils "^2.0.2"
esutils "^2.0.2"
"@babel/runtime@
7.x", "@babel/runtime@
^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.13.10", "@babel/runtime@^7.8.4":
"@babel/runtime@^7.0.0", "@babel/runtime@^7.11.2", "@babel/runtime@^7.13.10", "@babel/runtime@^7.8.4":
version "7.13.10"
version "7.13.10"
resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.13.10.tgz?cache=0&sync_timestamp=1615243066705&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fruntime%2Fdownload%2F%40babel%2Fruntime-7.13.10.tgz#47d42a57b6095f4468da440388fdbad8bebf0d7d"
resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.13.10.tgz?cache=0&sync_timestamp=1615243066705&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fruntime%2Fdownload%2F%40babel%2Fruntime-7.13.10.tgz#47d42a57b6095f4468da440388fdbad8bebf0d7d"
integrity sha1-R9QqV7YJX0Ro2kQDiP262L6/DX0=
integrity sha1-R9QqV7YJX0Ro2kQDiP262L6/DX0=
...
@@ -1607,11 +1607,6 @@
...
@@ -1607,11 +1607,6 @@
resolved "https://registry.npm.taobao.org/@polka/url/download/@polka/url-1.0.0-next.12.tgz#431ec342a7195622f86688bbda82e3166ce8cb28"
resolved "https://registry.npm.taobao.org/@polka/url/download/@polka/url-1.0.0-next.12.tgz#431ec342a7195622f86688bbda82e3166ce8cb28"
integrity sha1-Qx7DQqcZViL4Zoi72oLjFmzoyyg=
integrity sha1-Qx7DQqcZViL4Zoi72oLjFmzoyyg=
"@popperjs/core@^2.5.4":
version "2.9.1"
resolved "https://registry.npm.taobao.org/@popperjs/core/download/@popperjs/core-2.9.1.tgz#7f554e7368c9ab679a11f4a042ca17149d70cf12"
integrity sha1-f1VOc2jJq2eaEfSgQsoXFJ1wzxI=
"@stylelint/postcss-css-in-js@^0.37.2":
"@stylelint/postcss-css-in-js@^0.37.2":
version "0.37.2"
version "0.37.2"
resolved "https://registry.npm.taobao.org/@stylelint/postcss-css-in-js/download/@stylelint/postcss-css-in-js-0.37.2.tgz#7e5a84ad181f4234a2480803422a47b8749af3d2"
resolved "https://registry.npm.taobao.org/@stylelint/postcss-css-in-js/download/@stylelint/postcss-css-in-js-0.37.2.tgz#7e5a84ad181f4234a2480803422a47b8749af3d2"
...
@@ -2019,19 +2014,7 @@
...
@@ -2019,19 +2014,7 @@
semver "^7.3.2"
semver "^7.3.2"
tsutils "^3.17.1"
tsutils "^3.17.1"
"@vant/icons@1.5.2":
"@vue/babel-helper-vue-jsx-merge-props@^1.2.1":
version "1.5.2"
resolved "https://registry.npm.taobao.org/@vant/icons/download/@vant/icons-1.5.2.tgz?cache=0&sync_timestamp=1613997425951&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vant%2Ficons%2Fdownload%2F%40vant%2Ficons-1.5.2.tgz#3f3ea353a0eacd38c113757bd31836489facb10b"
integrity sha1-Pz6jU6DqzTjBE3V70xg2SJ+ssQs=
"@vant/popperjs@^1.0.0":
version "1.0.4"
resolved "https://registry.npm.taobao.org/@vant/popperjs/download/@vant/popperjs-1.0.4.tgz#49c20809a3828e7b036e23d50fb56121e997618f"
integrity sha1-ScIICaOCjnsDbiPVD7VhIemXYY8=
dependencies:
"@popperjs/core" "^2.5.4"
"@vue/babel-helper-vue-jsx-merge-props@^1.0.0", "@vue/babel-helper-vue-jsx-merge-props@^1.2.1":
version "1.2.1"
version "1.2.1"
resolved "https://registry.npm.taobao.org/@vue/babel-helper-vue-jsx-merge-props/download/@vue/babel-helper-vue-jsx-merge-props-1.2.1.tgz?cache=0&sync_timestamp=1602851122331&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vue%2Fbabel-helper-vue-jsx-merge-props%2Fdownload%2F%40vue%2Fbabel-helper-vue-jsx-merge-props-1.2.1.tgz#31624a7a505fb14da1d58023725a4c5f270e6a81"
resolved "https://registry.npm.taobao.org/@vue/babel-helper-vue-jsx-merge-props/download/@vue/babel-helper-vue-jsx-merge-props-1.2.1.tgz?cache=0&sync_timestamp=1602851122331&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vue%2Fbabel-helper-vue-jsx-merge-props%2Fdownload%2F%40vue%2Fbabel-helper-vue-jsx-merge-props-1.2.1.tgz#31624a7a505fb14da1d58023725a4c5f270e6a81"
integrity sha1-MWJKelBfsU2h1YAjclpMXycOaoE=
integrity sha1-MWJKelBfsU2h1YAjclpMXycOaoE=
...
@@ -7812,11 +7795,6 @@ mustache@^2.3.0:
...
@@ -7812,11 +7795,6 @@ mustache@^2.3.0:
resolved "https://registry.npm.taobao.org/mustache/download/mustache-2.3.2.tgz#a6d4d9c3f91d13359ab889a812954f9230a3d0c5"
resolved "https://registry.npm.taobao.org/mustache/download/mustache-2.3.2.tgz#a6d4d9c3f91d13359ab889a812954f9230a3d0c5"
integrity sha1-ptTZw/kdEzWauImoEpVPkjCj0MU=
integrity sha1-ptTZw/kdEzWauImoEpVPkjCj0MU=
mutation-observer@^1.0.3:
version "1.0.3"
resolved "https://registry.npm.taobao.org/mutation-observer/download/mutation-observer-1.0.3.tgz#42e9222b101bca82e5ba9d5a7acf4a14c0f263d0"
integrity sha1-QukiKxAbyoLlup1aes9KFMDyY9A=
mute-stream@0.0.7:
mute-stream@0.0.7:
version "0.0.7"
version "0.0.7"
resolved "https://registry.npm.taobao.org/mute-stream/download/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
resolved "https://registry.npm.taobao.org/mute-stream/download/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
...
@@ -9172,13 +9150,6 @@ postcss-pseudo-class-any-link@^6.0.0:
...
@@ -9172,13 +9150,6 @@ postcss-pseudo-class-any-link@^6.0.0:
postcss "^7.0.2"
postcss "^7.0.2"
postcss-selector-parser "^5.0.0-rc.3"
postcss-selector-parser "^5.0.0-rc.3"
postcss-pxtorem@^5.1.1:
version "5.1.1"
resolved "https://registry.npm.taobao.org/postcss-pxtorem/download/postcss-pxtorem-5.1.1.tgz#198a68c10f9ad2d42370ef66299d7b3168f8cffa"
integrity sha1-GYpowQ+a0tQjcO9mKZ17MWj4z/o=
dependencies:
postcss "^7.0.27"
postcss-reduce-initial@^4.0.3:
postcss-reduce-initial@^4.0.3:
version "4.0.3"
version "4.0.3"
resolved "https://registry.npm.taobao.org/postcss-reduce-initial/download/postcss-reduce-initial-4.0.3.tgz#7fd42ebea5e9c814609639e2c2e84ae270ba48df"
resolved "https://registry.npm.taobao.org/postcss-reduce-initial/download/postcss-reduce-initial-4.0.3.tgz#7fd42ebea5e9c814609639e2c2e84ae270ba48df"
...
@@ -11324,11 +11295,6 @@ totalist@^1.0.0:
...
@@ -11324,11 +11295,6 @@ totalist@^1.0.0:
resolved "https://registry.npm.taobao.org/totalist/download/totalist-1.1.0.tgz#a4d65a3e546517701e3e5c37a47a70ac97fe56df"
resolved "https://registry.npm.taobao.org/totalist/download/totalist-1.1.0.tgz#a4d65a3e546517701e3e5c37a47a70ac97fe56df"
integrity sha1-pNZaPlRlF3AePlw3pHpwrJf+Vt8=
integrity sha1-pNZaPlRlF3AePlw3pHpwrJf+Vt8=
transitionEnd@^1.0.2:
version "1.0.2"
resolved "https://registry.npm.taobao.org/transitionEnd/download/transitionEnd-1.0.2.tgz?cache=0&sync_timestamp=1610614458308&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2FtransitionEnd%2Fdownload%2FtransitionEnd-1.0.2.tgz#1914db5b45a7efdc34a01af69285a3a693871633"
integrity sha1-GRTbW0Wn79w0oBr2koWjppOHFjM=
trim-newlines@^1.0.0:
trim-newlines@^1.0.0:
version "1.0.0"
version "1.0.0"
resolved "https://registry.npm.taobao.org/trim-newlines/download/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"
resolved "https://registry.npm.taobao.org/trim-newlines/download/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"
...
@@ -11753,30 +11719,11 @@ validate-npm-package-license@^3.0.1:
...
@@ -11753,30 +11719,11 @@ validate-npm-package-license@^3.0.1:
spdx-correct "^3.0.0"
spdx-correct "^3.0.0"
spdx-expression-parse "^3.0.0"
spdx-expression-parse "^3.0.0"
vant@^2.11.1:
version "2.12.11"
resolved "https://registry.npm.taobao.org/vant/download/vant-2.12.11.tgz?cache=0&sync_timestamp=1617070186940&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvant%2Fdownload%2Fvant-2.12.11.tgz#abf23f6b6246c8b4f49502e409cae64fd99ed5bc"
integrity sha1-q/I/a2JGyLT0lQLkCcrmT9me1bw=
dependencies:
"@babel/runtime" "7.x"
"@vant/icons" "1.5.2"
"@vant/popperjs" "^1.0.0"
"@vue/babel-helper-vue-jsx-merge-props" "^1.0.0"
vue-lazyload "1.2.3"
vary@^1.1.2, vary@~1.1.2:
vary@^1.1.2, vary@~1.1.2:
version "1.1.2"
version "1.1.2"
resolved "https://registry.npm.taobao.org/vary/download/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
resolved "https://registry.npm.taobao.org/vary/download/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=
integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=
vconsole@^3.3.4:
version "3.4.0"
resolved "https://registry.npm.taobao.org/vconsole/download/vconsole-3.4.0.tgz?cache=0&sync_timestamp=1610614380057&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvconsole%2Fdownload%2Fvconsole-3.4.0.tgz#2cf2ffaa86cd7ab736997a22b63d05627c6ab567"
integrity sha1-LPL/qobNerc2mXoitj0FYnxqtWc=
dependencies:
mutation-observer "^1.0.3"
transitionEnd "^1.0.2"
vendors@^1.0.0:
vendors@^1.0.0:
version "1.0.4"
version "1.0.4"
resolved "https://registry.npm.taobao.org/vendors/download/vendors-1.0.4.tgz?cache=0&sync_timestamp=1615203397897&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvendors%2Fdownload%2Fvendors-1.0.4.tgz#e2b800a53e7a29b93506c3cf41100d16c4c4ad8e"
resolved "https://registry.npm.taobao.org/vendors/download/vendors-1.0.4.tgz?cache=0&sync_timestamp=1615203397897&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvendors%2Fdownload%2Fvendors-1.0.4.tgz#e2b800a53e7a29b93506c3cf41100d16c4c4ad8e"
...
@@ -11837,11 +11784,6 @@ vue-hot-reload-api@^2.3.0:
...
@@ -11837,11 +11784,6 @@ vue-hot-reload-api@^2.3.0:
resolved "https://registry.npm.taobao.org/vue-hot-reload-api/download/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2"
resolved "https://registry.npm.taobao.org/vue-hot-reload-api/download/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2"
integrity sha1-UylVzB6yCKPZkLOp+acFdGV+CPI=
integrity sha1-UylVzB6yCKPZkLOp+acFdGV+CPI=
vue-lazyload@1.2.3:
version "1.2.3"
resolved "https://registry.npm.taobao.org/vue-lazyload/download/vue-lazyload-1.2.3.tgz#901f9ec15c7e6ca78781a2bae4a343686bdedb2c"
integrity sha1-kB+ewVx+bKeHgaK65KNDaGve2yw=
vue-loader@^15.9.6:
vue-loader@^15.9.6:
version "15.9.6"
version "15.9.6"
resolved "https://registry.npm.taobao.org/vue-loader/download/vue-loader-15.9.6.tgz?cache=0&sync_timestamp=1616796718461&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-loader%2Fdownload%2Fvue-loader-15.9.6.tgz#f4bb9ae20c3a8370af3ecf09b8126d38ffdb6b8b"
resolved "https://registry.npm.taobao.org/vue-loader/download/vue-loader-15.9.6.tgz?cache=0&sync_timestamp=1616796718461&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-loader%2Fdownload%2Fvue-loader-15.9.6.tgz#f4bb9ae20c3a8370af3ecf09b8126d38ffdb6b8b"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment