Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
chore(.vscode vue-class-component.vue): customize for @nuxtjs/composi…
Browse files Browse the repository at this point in the history
…tion-api
  • Loading branch information
ThaddeusJiang committed Mar 13, 2021
1 parent 0c174ab commit a7618ce
Show file tree
Hide file tree
Showing 3 changed files with 307 additions and 18 deletions.
9 changes: 9 additions & 0 deletions .vscode/vetur/snippets/vue-class-component.vue
@@ -0,0 +1,9 @@
<template></template>

<script lang="ts">
import { defineComponent } from '@nuxtjs/composition-api'
export default defineComponent({
setup() {},
})
</script>
9 changes: 8 additions & 1 deletion package.json
Expand Up @@ -10,7 +10,8 @@
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
"lint:style": "stylelint \"**/*.{vue,css}\" --ignore-path .gitignore",
"lint": "yarn lint:js && yarn lint:style",
"test": "jest"
"test": "jest",
"commit": "cz"
},
"lint-staged": {
"*.{js,vue}": "eslint",
Expand Down Expand Up @@ -42,6 +43,7 @@
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"cz-conventional-changelog": "3.3.0",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-nuxt": "^2.0.0",
Expand All @@ -58,5 +60,10 @@
"stylelint-config-standard": "^20.0.0",
"ts-jest": "^26.4.4",
"vue-jest": "^3.0.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}

0 comments on commit a7618ce

Please sign in to comment.