|
25 | 25 | "bugs": "https://github.com/luoling8192/velin/issues",
|
26 | 26 | "exports": {
|
27 | 27 | ".": {
|
28 |
| - "types": "./dist/index.d.ts", |
| 28 | + "types": "./dist/index.d.mts", |
29 | 29 | "import": "./dist/index.mjs"
|
30 | 30 | },
|
31 | 31 | "./from-md": {
|
32 |
| - "types": "./dist/from-md/index.d.ts", |
| 32 | + "types": "./dist/from-md/index.d.mts", |
33 | 33 | "import": "./dist/from-md/index.mjs"
|
34 | 34 | },
|
35 | 35 | "./transformers/vue": {
|
36 |
| - "types": "./dist/transformers/vue/index.d.ts", |
| 36 | + "types": "./dist/transformers/vue/index.d.mts", |
37 | 37 | "import": "./dist/transformers/vue/index.mjs"
|
38 | 38 | },
|
39 | 39 | "./transformers/typescript": {
|
40 |
| - "types": "./dist/transformers/typescript/index.d.ts", |
| 40 | + "types": "./dist/transformers/typescript/index.d.mts", |
41 | 41 | "import": "./dist/transformers/typescript/index.mjs"
|
42 | 42 | },
|
43 | 43 | "./to-md": {
|
44 |
| - "types": "./dist/to-md/index.d.ts", |
| 44 | + "types": "./dist/to-md/index.d.mts", |
45 | 45 | "import": "./dist/to-md/index.mjs"
|
46 | 46 | },
|
47 | 47 | "./vue-sfc": {
|
48 |
| - "types": "./dist/vue-sfc/index.d.ts", |
| 48 | + "types": "./dist/vue-sfc/index.d.mts", |
49 | 49 | "import": "./dist/vue-sfc/index.mjs"
|
50 | 50 | }
|
51 | 51 | },
|
|
55 | 55 | "package.json"
|
56 | 56 | ],
|
57 | 57 | "scripts": {
|
58 |
| - "dev": "unbuild", |
59 |
| - "stub": "unbuild", |
60 |
| - "build": "unbuild", |
| 58 | + "dev": "tsdown", |
| 59 | + "stub": "tsdown", |
| 60 | + "build": "tsdown", |
61 | 61 | "typecheck": "tsc --noEmit",
|
62 | 62 | "attw": "attw --pack . --profile esm-only --ignore-rules cjs-resolves-to-esm"
|
63 | 63 | },
|
64 | 64 | "dependencies": {
|
65 | 65 | "@vue/compiler-sfc": "^3.5.16",
|
66 |
| - "error-stack-parser": "^2.1.4", |
67 | 66 | "hast-util-from-html": "^2.0.3",
|
68 | 67 | "hast-util-select": "^6.0.4",
|
69 | 68 | "hast-util-to-html": "^9.0.5",
|
70 |
| - "local-pkg": "^1.1.1", |
71 | 69 | "markdown-it": "^14.1.0",
|
72 | 70 | "rehype-parse": "^9.0.1",
|
73 | 71 | "rehype-remark": "^10.0.1",
|
|
0 commit comments