|
1 | 1 | { |
2 | 2 | "name": "vitepress-plugin-group-icons", |
3 | | - "type": "module", |
4 | 3 | "version": "1.7.2", |
5 | | - "packageManager": "pnpm@10.33.0", |
6 | | - "author": "Leo <https://github.com/yuyinws>", |
7 | | - "license": "MIT", |
| 4 | + "keywords": [], |
8 | 5 | "homepage": "https://github.com/yuyinws/vitepress-plugin-group-icons#readme", |
| 6 | + "bugs": "https://github.com/yuyinws/vitepress-plugin-group-icons/issues", |
| 7 | + "license": "MIT", |
| 8 | + "author": "Leo <https://github.com/yuyinws>", |
9 | 9 | "repository": { |
10 | 10 | "type": "git", |
11 | 11 | "url": "git+https://github.com/yuyinws/vitepress-plugin-group-icons.git" |
12 | 12 | }, |
13 | | - "bugs": "https://github.com/yuyinws/vitepress-plugin-group-icons/issues", |
14 | | - "keywords": [], |
| 13 | + "files": [ |
| 14 | + "dist" |
| 15 | + ], |
| 16 | + "type": "module", |
15 | 17 | "sideEffects": false, |
16 | | - "exports": { |
17 | | - ".": { |
18 | | - "types": "./dist/index.d.mts", |
19 | | - "import": "./dist/index.mjs" |
20 | | - } |
21 | | - }, |
22 | 18 | "main": "./dist/index.mjs", |
23 | 19 | "module": "./dist/index.mjs", |
24 | 20 | "types": "./dist/index.d.mts", |
|
30 | 26 | ] |
31 | 27 | } |
32 | 28 | }, |
33 | | - "files": [ |
34 | | - "dist" |
35 | | - ], |
| 29 | + "exports": { |
| 30 | + ".": { |
| 31 | + "types": "./dist/index.d.mts", |
| 32 | + "import": "./dist/index.mjs" |
| 33 | + } |
| 34 | + }, |
36 | 35 | "scripts": { |
37 | 36 | "build": "tsdown", |
38 | 37 | "dev": "tsdown --watch", |
39 | | - "lint": "eslint .", |
| 38 | + "lint:fix": "vp lint --fix && vp fmt", |
| 39 | + "lint": "vp lint", |
40 | 40 | "release": "bumpp", |
41 | | - "test": "vitest", |
| 41 | + "test": "vp test", |
42 | 42 | "prepublishOnly": "pnpm build", |
43 | | - "typecheck": "tsc --noEmit", |
44 | 43 | "prepare": "simple-git-hooks", |
45 | 44 | "docs:dev": "vitepress dev docs", |
46 | 45 | "docs:build": "vitepress build docs", |
47 | 46 | "docs:preview": "vitepress preview docs" |
48 | 47 | }, |
49 | | - "peerDependencies": { |
50 | | - "vite": ">=3" |
51 | | - }, |
52 | | - "peerDependenciesMeta": { |
53 | | - "vite": { |
54 | | - "optional": true |
55 | | - } |
56 | | - }, |
57 | 48 | "dependencies": { |
58 | 49 | "@iconify-json/logos": "^1.2.10", |
59 | 50 | "@iconify-json/vscode-icons": "^1.2.45", |
60 | 51 | "@iconify/utils": "^3.1.0" |
61 | 52 | }, |
62 | 53 | "devDependencies": { |
63 | | - "@antfu/eslint-config": "^7.7.3", |
64 | 54 | "@antfu/ni": "^30.0.0", |
65 | 55 | "@types/markdown-it": "^14.1.2", |
66 | 56 | "@types/node": "^25.5.0", |
67 | 57 | "bumpp": "^11.0.1", |
68 | | - "eslint": "^10.1.0", |
69 | | - "esno": "^4.8.0", |
70 | 58 | "lint-staged": "^16.4.0", |
71 | 59 | "simple-git-hooks": "^2.13.1", |
72 | 60 | "tsdown": "^0.21.5", |
73 | 61 | "typescript": "^6.0.2", |
74 | 62 | "vite": "^8.0.2", |
| 63 | + "vite-plus": "^0.1.14", |
75 | 64 | "vitepress": "^1.6.4", |
76 | 65 | "vitest": "^4.1.1" |
77 | 66 | }, |
78 | | - "simple-git-hooks": { |
79 | | - "pre-commit": "pnpm lint-staged" |
| 67 | + "peerDependencies": { |
| 68 | + "vite": ">=3" |
| 69 | + }, |
| 70 | + "peerDependenciesMeta": { |
| 71 | + "vite": { |
| 72 | + "optional": true |
| 73 | + } |
80 | 74 | }, |
81 | | - "lint-staged": { |
82 | | - "*": "eslint --fix" |
83 | | - } |
| 75 | + "packageManager": "pnpm@10.33.0" |
84 | 76 | } |
0 commit comments