Skip to content

Commit

Permalink
fix: 发布时类型定义文件丢失.
Browse files Browse the repository at this point in the history
  • Loading branch information
siaikin committed Jul 20, 2023
1 parent 96cbf3b commit cb0292e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
"description": "A Vue 3 component to print the content of an element or a component.",
"scripts": {
"dev": "vite",
"build": "run-s type-check build-only type-gen",
"build": "run-s type-check build-only",
"preview": "vite preview",
"test:unit": "vitest",
"build-only": "vite build",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"type-gen": "vue-tsc --declaration --emitDeclarationOnly --declarationDir dist",
"type-gen": "vue-tsc --declaration --emitDeclarationOnly --declarationDir dist -p tsconfig.app.json",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"format": "prettier --write src/",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"prepare": "husky install",
"prepublishOnly": "run-s build"
"prepublishOnly": "run-s build type-gen"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit cb0292e

Please sign in to comment.