|
9 | 9 | "files": [
|
10 | 10 | "dist"
|
11 | 11 | ],
|
12 |
| - "types": "dist/repl.d.ts", |
| 12 | + "types": "dist/vue-repl.d.ts", |
13 | 13 | "exports": {
|
14 | 14 | ".": {
|
15 |
| - "types": "./dist/repl.d.ts", |
| 15 | + "types": "./dist/vue-repl.d.ts", |
16 | 16 | "import": "./dist/vue-repl.js",
|
17 | 17 | "require": "./dist/ssr-stub.js"
|
18 | 18 | },
|
19 | 19 | "./monaco-editor": {
|
20 |
| - "types": "./dist/editor-types.d.ts", |
| 20 | + "types": "./dist/monaco-editor.d.ts", |
21 | 21 | "import": "./dist/monaco-editor.js",
|
22 | 22 | "require": null
|
23 | 23 | },
|
24 | 24 | "./codemirror-editor": {
|
25 |
| - "types": "./dist/editor-types.d.ts", |
| 25 | + "types": "./dist/codemirror-editor.d.ts", |
26 | 26 | "import": "./dist/codemirror-editor.js",
|
27 | 27 | "require": null
|
28 | 28 | },
|
29 |
| - "./style.css": "./dist/style.css", |
30 |
| - "./dist/style.css": "./dist/style.css" |
| 29 | + "./*": [ |
| 30 | + "./*", |
| 31 | + "./*.d.ts" |
| 32 | + ] |
| 33 | + }, |
| 34 | + "typesVersions": { |
| 35 | + "*": { |
| 36 | + "*": [ |
| 37 | + "./dist/*", |
| 38 | + "./*" |
| 39 | + ] |
| 40 | + } |
31 | 41 | },
|
32 | 42 | "scripts": {
|
33 | 43 | "dev": "vite",
|
34 | 44 | "build": "vite build",
|
35 |
| - "build-types": "vue-tsc -p tsconfig.build.json && api-extractor run -c api-extractor.json && node scripts/cleanup.js", |
36 | 45 | "build-preview": "vite build -c vite.preview.config.ts",
|
37 | 46 | "format": "prettier --write .",
|
38 | 47 | "release": "bumpp -r",
|
39 |
| - "prepublishOnly": "npm run build && npm run build-types" |
| 48 | + "prepublishOnly": "npm run build" |
40 | 49 | },
|
41 | 50 | "simple-git-hooks": {
|
42 | 51 | "pre-commit": "pnpm exec lint-staged --concurrent false"
|
|
58 | 67 | "homepage": "https://github.com/vuejs/repl#readme",
|
59 | 68 | "devDependencies": {
|
60 | 69 | "@babel/types": "^7.23.3",
|
61 |
| - "@microsoft/api-extractor": "^7.38.3", |
62 | 70 | "@rollup/plugin-replace": "^5.0.5",
|
63 | 71 | "@types/codemirror": "^5.60.13",
|
64 | 72 | "@types/node": "^20.9.0",
|
|
82 | 90 | "sucrase": "^3.34.0",
|
83 | 91 | "typescript": "^5.2.2",
|
84 | 92 | "vite": "^4.5.0",
|
| 93 | + "vite-plugin-dts": "^3.6.3", |
85 | 94 | "vue": "^3.3.8",
|
86 | 95 | "vue-tsc": "1.9.0-alpha.3"
|
87 | 96 | }
|
|
0 commit comments