init project
parents
Showing
.env
0 → 100644
.env.beta
0 → 100644
.env.development
0 → 100644
.env.production
0 → 100644
.eslintignore
0 → 100644
.gitignore
0 → 100644
.gitlab-ci.yml.template
0 → 100644
.vscode/extensions.json
0 → 100644
.vscode/settings.json
0 → 100644
.vscode/tsvue.code-snippets
0 → 100644
README.md
0 → 100644
babel.config.js
0 → 100644
commitlint.config.js
0 → 100644
package.json
0 → 100644
| { | ||
| "name": "vue3-ts-scaffold", | ||
| "version": "0.1.0", | ||
| "private": true, | ||
| "scripts": { | ||
| "dev": "vue-cli-service serve", | ||
| "format": "pretty-quick", | ||
| "test:unit": "vue-cli-service test:unit", | ||
| "lint": "vue-cli-service lint --fix", | ||
| "build:beta": "vue-cli-service build --mode beta", | ||
| "build:production": "vue-cli-service build", | ||
| "deploy:beta": "npm run lint && npm run build --mode development && node scripts/deploy.js", | ||
| "deploy:production": "npm run lint && npm run build && node scripts/deploy.js" | ||
| }, | ||
| "dependencies": { | ||
| "axios": "^0.19.2", | ||
| "change-case": "^4.1.1", | ||
| "core-js": "^3.6.5", | ||
| "lodash-es": "^4.17.15", | ||
| "moment": "^2.27.0", | ||
| "normalize.css": "^8.0.1", | ||
| "pluralize": "^8.0.0", | ||
| "qs": "^6.9.4", | ||
| "vue": "^2.6.11", | ||
| "vue-class-component": "^7.2.3", | ||
| "vue-property-decorator": "^8.4.2", | ||
| "vue-router": "^3.2.0", | ||
| "vuex": "^3.4.0", | ||
| "vuex-module-decorators": "^0.17.0", | ||
| "vuex-persistedstate": "^3.0.1" | ||
| }, | ||
| "devDependencies": { | ||
| "@commitlint/cli": "^9.1.1", | ||
| "@commitlint/config-conventional": "^9.1.1", | ||
| "@iboying/easy-deploy": "^0.3.1", | ||
| "@types/jest": "^24.0.19", | ||
| "@types/lodash-es": "^4.17.3", | ||
| "@types/pluralize": "^0.0.29", | ||
| "@types/qs": "^6.9.3", | ||
| "@typescript-eslint/eslint-plugin": "^2.33.0", | ||
| "@typescript-eslint/parser": "^2.33.0", | ||
| "@vue/cli-plugin-babel": "~4.4.0", | ||
| "@vue/cli-plugin-eslint": "~4.4.0", | ||
| "@vue/cli-plugin-router": "~4.4.0", | ||
| "@vue/cli-plugin-typescript": "~4.4.0", | ||
| "@vue/cli-plugin-unit-jest": "~4.4.0", | ||
| "@vue/cli-plugin-vuex": "~4.4.0", | ||
| "@vue/cli-service": "~4.4.0", | ||
| "@vue/eslint-config-prettier": "^6.0.0", | ||
| "@vue/eslint-config-typescript": "^5.0.2", | ||
| "@vue/test-utils": "^1.0.3", | ||
| "chalk": "^4.1.0", | ||
| "eslint": "^6.7.2", | ||
| "eslint-plugin-prettier": "^3.1.3", | ||
| "eslint-plugin-vue": "^6.2.2", | ||
| "husky": "^4.2.5", | ||
| "prettier": "^1.19.1", | ||
| "pretty-quick": "^2.0.1", | ||
| "stylus": "^0.54.7", | ||
| "stylus-loader": "^3.0.2", | ||
| "typescript": "~3.9.3", | ||
| "vue-cli-plugin-pug": "^1.0.7", | ||
| "vue-template-compiler": "^2.6.11" | ||
| }, | ||
| "husky": { | ||
| "hooks": { | ||
| "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
| "pre-commit": "npm run lint" | ||
| } | ||
| }, | ||
| "eslintConfig": { | ||
| "root": true, | ||
| "env": { | ||
| "node": true | ||
| }, | ||
| "extends": [ | ||
| "plugin:vue/essential", | ||
| "eslint:recommended", | ||
| "@vue/typescript/recommended", | ||
| "@vue/prettier", | ||
| "@vue/prettier/@typescript-eslint" | ||
| ], | ||
| "parserOptions": { | ||
| "ecmaVersion": 2020 | ||
| }, | ||
| "rules": { | ||
| "@typescript-eslint/no-explicit-any": 0, | ||
| "@typescript-eslint/interface-name-prefix": 0, | ||
| "@typescript-eslint/camelcase": 0 | ||
| }, | ||
| "overrides": [ | ||
| { | ||
| "files": [ | ||
| "**/__tests__/*.{j,t}s?(x)", | ||
| "**/tests/unit/**/*.spec.{j,t}s?(x)" | ||
| ], | ||
| "env": { | ||
| "jest": true | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| "prettier": { | ||
| "printWidth": 120, | ||
| "singleQuote": true, | ||
| "proseWrap": "always", | ||
| "trailingComma": "all" | ||
| }, | ||
| "browserslist": [ | ||
| "> 1%", | ||
| "last 2 versions", | ||
| "not dead" | ||
| ], | ||
| "jest": { | ||
| "preset": "@vue/cli-plugin-unit-jest/presets/typescript-and-babel" | ||
| } | ||
| } |
public/favicon.ico
0 → 100644
File added
public/index.html
0 → 100644
scripts/deploy.js
0 → 100644
src/App.vue
0 → 100644
src/assets/images/logo.png
0 → 100644
6.69 KB
src/assets/styles/global.styl
0 → 100644
src/components/global/index.ts
0 → 100644
src/components/home/ComHelloWorld.vue
0 → 100644
src/layouts/DefaultLayout.vue
0 → 100644
src/layouts/HeaderLayout.vue
0 → 100644
src/layouts/MenuLayout.vue
0 → 100644
src/lib/ActiveModel.ts
0 → 100644
src/lib/ActiveStore.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/main.ts
0 → 100644
src/models/example.ts
0 → 100644
src/models/session.ts
0 → 100644
src/router/component.route.ts
0 → 100644
src/router/error.route.ts
0 → 100644
src/router/home.route.ts
0 → 100644
src/router/index.ts
0 → 100644
src/store/index.ts
0 → 100644
src/store/modules/example.store.ts
0 → 100644
src/store/modules/session.store.ts
0 → 100644
src/types/global.d.ts
0 → 100644
src/types/shims-tsx.d.ts
0 → 100644
src/types/shims-vue.d.ts
0 → 100644
src/types/vue.d.ts
0 → 100644
src/utils/diff.ts
0 → 100644
src/utils/index.ts
0 → 100644
src/utils/request.ts
0 → 100644
src/views/components/Index.vue
0 → 100644
src/views/error/NotFound.vue
0 → 100644
src/views/home/About.vue
0 → 100644
src/views/home/Index.vue
0 → 100644
tests/unit/example.spec.ts
0 → 100644
tsconfig.json
0 → 100644
vue.config.js
0 → 100644
yarn.lock
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.