morghulis 2.0.42 → 2.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "morghulis",
3
- "version": "2.0.42",
3
+ "version": "2.0.43",
4
4
  "description": "一个Vue 3按钮组件库,支持TypeScript和IDE自动补全",
5
5
  "type": "module",
6
6
  "main": "dist/morghulis.es.js",
@@ -18,10 +18,11 @@
18
18
  ],
19
19
  "scripts": {
20
20
  "dev": "vite",
21
- "build": "run-p type-check build-only",
21
+ "build": "run-p type-check build-only generate-types",
22
22
  "preview": "vite preview",
23
23
  "build-only": "vite build",
24
24
  "type-check": "vue-tsc --build",
25
+ "generate-types": "vue-tsc --project tsconfig.app.json --declaration --emitDeclarationOnly --outDir dist/types",
25
26
  "prepublishOnly": "npm run build"
26
27
  },
27
28
  "keywords": [