feat: xxx
Showing
.commitlintrc.js
0 → 100644
.czrc
0 → 100644
.gitlab-ci.yml
0 → 100644
.huskyrc.js
0 → 100644
.lintstagedrc.js
0 → 100644
.ls-lint.yml
0 → 100644
.npmrc
0 → 100644
.stylelintignore
0 → 100644
.stylelintrc.js
0 → 100644
api/index.js
0 → 100644
assets/README.md
deleted
100644 → 0
assets/styles/mixins.scss
0 → 100644
assets/styles/reset.scss
0 → 100644
assets/styles/variables.scss
0 → 100644
components/README.md
deleted
100644 → 0
config/env.config.js
0 → 100644
config/proxy.config.js
0 → 100644
config/webInfo.js
0 → 100644
layouts/README.md
deleted
100644 → 0
layouts/error.vue
0 → 100644
middleware/README.md
deleted
100644 → 0
middleware/test.js
0 → 100644
{ | { | ||
"name": "mould-nuxt", | "name": "mould-nuxt", | ||
"version": "1.0.0", | "version": "1.2.1", | ||
"private": true, | "private": true, | ||
"files": [ | |||
"打包需要的文件" | |||
], | |||
"scripts": { | "scripts": { | ||
"dev": "nuxt", | "dev": "cross-env ENV_MODE=dev NODE_ENV=dev nuxt", | ||
"build": "nuxt build", | "uat:build": "cross-env ENV_MODE=uat NODE_ENV=uat nuxt build", | ||
"start": "nuxt start", | "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", | "generate": "nuxt generate", | ||
"lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .", | "lint:js": "eslint --ext .js,.vue", | ||
"lint:style": "stylelint **/*.{vue,css} --ignore-path .gitignore", | "lint:style": "stylelint **/*.{vue,css,scss,html,htm}", | ||
"lint": "yarn lint:js && yarn lint:style" | "lint": "yarn lint:js && yarn lint:style", | ||
}, | "fix:js": "eslint --fix --ext .js,.vue \"**\"", | ||
"lint-staged": { | "fix:style": "stylelint --fix **/*.{vue,css,scss}", | ||
"*.{js,vue}": "eslint", | "fix": "yarn fix:js && yarn fix:style ", | ||
"*.{css,vue}": "stylelint" | "prettier": "prettier --write \"**/*.js\" \"**/*.vue\"", | ||
}, | "format": "yarn prettier && yarn fix", | ||
"husky": { | "commit": "git-cz", | ||
"hooks": { | "release:init": "standard-version -f", | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | "release:patch": "standard-version -r patch", | ||
"pre-commit": "lint-staged" | "release:minor": "standard-version -r minor", | ||
} | "release:major": "standard-version -r major", | ||
"release:push": "git push --follow-tags", | |||
"analyze": "nuxt build -a" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"@nuxt/content": "^1.9.0", | "@nuxt/content": "^1.9.0", | ||
"@nuxtjs/axios": "^5.12.2", | "@nuxtjs/axios": "^5.12.2", | ||
"@nuxtjs/dayjs": "^1.2.1", | |||
"@nuxtjs/proxy": "^2.0.1", | |||
"@nuxtjs/pwa": "^3.0.2", | "@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", | "core-js": "^3.6.5", | ||
"element-ui": "^2.13.2", | "cross-env": "^7.0.2", | ||
"nuxt": "^2.14.6" | "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": { | "devDependencies": { | ||
"@commitlint/cli": "^11.0.0", | "@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | "@commitlint/config-conventional": "^11.0.0", | ||
"@ls-lint/ls-lint": "^1.9.2", | |||
"@nuxtjs/eslint-config": "^3.1.0", | "@nuxtjs/eslint-config": "^3.1.0", | ||
"@nuxtjs/eslint-module": "^2.0.0", | "@nuxtjs/eslint-module": "^2.0.0", | ||
"@nuxtjs/stylelint-module": "^4.0.0", | "@nuxtjs/stylelint-module": "^4.0.0", | ||
"babel-eslint": "^10.1.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": "^7.10.0", | ||
"eslint-config-prettier": "^6.12.0", | "eslint-config-prettier": "^6.15.0", | ||
"eslint-plugin-nuxt": "^1.0.0", | "eslint-plugin-nuxt": "^1.0.0", | ||
"eslint-plugin-prettier": "^3.1.4", | |||
"husky": "^4.3.0", | "husky": "^4.3.0", | ||
"lint-staged": "^10.4.0", | "postcss-pxtorem": "^5.1.1", | ||
"prettier": "^2.1.2", | "prettier": "^2.1.2", | ||
"stylelint": "^13.7.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-prettier": "^8.0.2", | ||
"stylelint-config-standard": "^20.0.0" | "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", | |||
"vconsole": "^3.3.4" | |||
} | } | ||
} | } |
pages/README.md
deleted
100644 → 0
plugins/README.md
deleted
100644 → 0
plugins/axios/index.bak.js
0 → 100644
plugins/axios/index.js
0 → 100644
plugins/inject-api.js
0 → 100644
plugins/inject-demo.js
0 → 100644
plugins/inject-utils.js
0 → 100644
plugins/vant-ui.js
0 → 100644
plugins/vconsole.js
0 → 100644
plugins/vue-bus.js
0 → 100644
static/README.md
deleted
100644 → 0
static/icon.png
deleted
100644 → 0
12.4 KB
static/scripts/flexible.js
0 → 100644
store/README.md
deleted
100644 → 0
store/example.js
0 → 100644
store/index.js
0 → 100644
utils/utils.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.