|
13 | 13 | }, |
14 | 14 | "exports": { |
15 | 15 | ".": { |
16 | | - "import": "./dist/index.js", |
| 16 | + "import": "./dist/index.mjs", |
17 | 17 | "types": "./dist/index.d.ts" |
18 | 18 | }, |
19 | 19 | "./plugin": { |
20 | | - "import": "./dist/plugin/index.js", |
| 20 | + "import": "./dist/plugin/index.mjs", |
21 | 21 | "types": "./dist/plugin/index.d.ts" |
22 | 22 | } |
23 | 23 | }, |
24 | 24 | "files": [ |
25 | 25 | "dist" |
26 | 26 | ], |
27 | 27 | "scripts": { |
28 | | - "build": "rollup -c", |
29 | | - "dev": "rollup -w -c", |
| 28 | + "dev": "unbuild --stub", |
| 29 | + "build": "unbuild", |
30 | 30 | "test": "echo \"Error: no test specified\" && exit 1" |
31 | 31 | }, |
32 | 32 | "keywords": [ |
|
41 | 41 | "@babel/types": "^7.23.3", |
42 | 42 | "@nuxt/devalue": "^2.0.2", |
43 | 43 | "@types/express": "^4.17.21", |
44 | | - "@unhead/schema": "^1.8.3", |
45 | 44 | "cheerio": "1.0.0-rc.12", |
46 | 45 | "cookie-parser": "^1.4.6" |
47 | 46 | }, |
48 | 47 | "devDependencies": { |
49 | 48 | "@types/node": "^18.18.9", |
50 | | - "@vueuse/head": "^1.3.1", |
51 | | - "esbuild": "^0.17.19", |
52 | | - "rollup": "^3.29.4", |
53 | | - "rollup-plugin-dts": "^5.3.1", |
54 | | - "rollup-plugin-esbuild": "^5.0.0", |
| 49 | + "@unhead/vue": "^1.8.9", |
55 | 50 | "typescript": "^5.1.6", |
| 51 | + "unbuild": "^2.0.0", |
56 | 52 | "vite": "^5.0.0", |
57 | 53 | "vue": "^3.3.8", |
58 | 54 | "vue-router": "^4.2.5" |
59 | 55 | }, |
60 | 56 | "peerDependencies": { |
61 | | - "@vueuse/head": "^1.3.1", |
| 57 | + "@unhead/vue": "^1.8.9", |
62 | 58 | "vite": "^5.0.0", |
63 | 59 | "vue": "^3.3.8", |
64 | 60 | "vue-router": "^4.2.5" |
|
0 commit comments