feat: add commit cz & vue-shim.d.ts

This commit is contained in:
zouhang 2020-07-21 20:23:49 +08:00
parent 2b0f192c52
commit 5da603bffb
3 changed files with 1798 additions and 3 deletions

1783
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -3,14 +3,21 @@
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "vite build" "build": "vite build",
"cz": "npx git-cz"
}, },
"dependencies": { "dependencies": {
"vue": "^3.0.0-rc.1", "vue": "^3.0.0-rc.1",
"vue-router": "^4.0.0-beta.2" "vue-router": "^4.0.0-beta.2"
}, },
"devDependencies": { "devDependencies": {
"vite": "^1.0.0-rc.1", "@vue/compiler-sfc": "^3.0.0-rc.1",
"@vue/compiler-sfc": "^3.0.0-rc.1" "cz-conventional-changelog": "^3.2.0",
"vite": "^1.0.0-rc.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
} }
} }

5
src/vue-shim.d.ts vendored Normal file
View File

@ -0,0 +1,5 @@
declare module '*.vue' {
import { Component } from 'vue'
const _default: Component
export default _default
}