|
1 | 1 | { |
2 | 2 | "name": "unplugin-element-plus", |
| 3 | + "type": "module", |
3 | 4 | "version": "0.11.1", |
4 | 5 | "packageManager": "[email protected]", |
5 | 6 | "description": "Import Element Plus on demand. Support Vite, Webpack, Vue CLI, Rollup and esbuild.", |
6 | | - "type": "module", |
| 7 | + "license": "MIT", |
| 8 | + "homepage": "https://github.com/element-plus/unplugin-element-plus/tree/main/#readme", |
| 9 | + "repository": { |
| 10 | + "type": "git", |
| 11 | + "url": "git+https://github.com/element-plus/unplugin-element-plus.git" |
| 12 | + }, |
| 13 | + "bugs": { |
| 14 | + "url": "https://github.com/element-plus/unplugin-element-plus/issues" |
| 15 | + }, |
7 | 16 | "keywords": [ |
8 | 17 | "element-plus", |
9 | 18 | "unplugin", |
|
13 | 22 | "esbuild", |
14 | 23 | "plugin" |
15 | 24 | ], |
16 | | - "license": "MIT", |
17 | | - "homepage": "https://github.com/element-plus/unplugin-element-plus/tree/main/#readme", |
18 | | - "bugs": { |
19 | | - "url": "https://github.com/element-plus/unplugin-element-plus/issues" |
20 | | - }, |
21 | | - "repository": { |
22 | | - "type": "git", |
23 | | - "url": "git+https://github.com/element-plus/unplugin-element-plus.git" |
24 | | - }, |
25 | | - "files": [ |
26 | | - "dist" |
27 | | - ], |
28 | | - "main": "./dist/index.mjs", |
29 | | - "module": "./dist/index.mjs", |
30 | | - "types": "./dist/index.d.mts", |
31 | 25 | "exports": { |
32 | 26 | ".": "./dist/index.mjs", |
33 | 27 | "./esbuild": "./dist/esbuild.mjs", |
|
39 | 33 | "./webpack": "./dist/webpack.mjs", |
40 | 34 | "./package.json": "./package.json" |
41 | 35 | }, |
| 36 | + "main": "./dist/index.mjs", |
| 37 | + "module": "./dist/index.mjs", |
| 38 | + "types": "./dist/index.d.mts", |
42 | 39 | "typesVersions": { |
43 | 40 | "*": { |
44 | 41 | "*": [ |
|
47 | 44 | ] |
48 | 45 | } |
49 | 46 | }, |
| 47 | + "files": [ |
| 48 | + "dist" |
| 49 | + ], |
50 | 50 | "publishConfig": { |
51 | 51 | "access": "public" |
52 | 52 | }, |
| 53 | + "engines": { |
| 54 | + "node": ">=20.19.0" |
| 55 | + }, |
53 | 56 | "scripts": { |
54 | 57 | "lint": "eslint .", |
55 | 58 | "lint:fix": "pnpm run lint --fix", |
|
59 | 62 | "release": "bumpp", |
60 | 63 | "vite:build": "npm -C examples/vite run build", |
61 | 64 | "vite:dev": "npm -C examples/vite run dev", |
62 | | - "typecheck": "tsc --noEmit", |
| 65 | + "typecheck": "tsgo --noEmit", |
63 | 66 | "test": "vitest", |
64 | 67 | "prepublishOnly": "pnpm run build" |
65 | 68 | }, |
|
75 | 78 | "@sxzz/eslint-config": "^7.4.3", |
76 | 79 | "@sxzz/prettier-config": "^2.2.6", |
77 | 80 | "@types/node": "^25.0.2", |
| 81 | + "@typescript/native-preview": "7.0.0-dev.20251215.1", |
78 | 82 | "@vitest/ui": "^4.0.15", |
79 | 83 | "bumpp": "^10.3.2", |
80 | 84 | "esbuild": "~0.27.1", |
|
88 | 92 | "vite": "^7.3.0", |
89 | 93 | "vitest": "^4.0.15" |
90 | 94 | }, |
91 | | - "engines": { |
92 | | - "node": ">=20.19.0" |
93 | | - }, |
94 | 95 | "prettier": "@sxzz/prettier-config" |
95 | 96 | } |
0 commit comments