|
18 | 18 | "main": "./dist/index.js",
|
19 | 19 | "module": "./dist/index.js",
|
20 | 20 | "types": "./dist/index.d.ts",
|
| 21 | + "bin": "./bin/index.js", |
21 | 22 | "files": [
|
| 23 | + "bin", |
22 | 24 | "dist"
|
23 | 25 | ],
|
24 | 26 | "publishConfig": {
|
|
28 | 30 | "node": ">=16.14.0"
|
29 | 31 | },
|
30 | 32 | "scripts": {
|
31 |
| - "dev": "tsup src/index.ts --format esm,cjs --watch & eslint-flat-config-viewer", |
32 |
| - "build": "tsup src/index.ts --format esm,cjs --clean --dts", |
33 |
| - "stub": "tsup src/index.ts --format esm", |
| 33 | + "build": "tsup --format esm,cjs --clean --dts", |
| 34 | + "stub": "tsup --format esm", |
| 35 | + "dev": "tsup --format esm,cjs --watch & eslint-flat-config-viewer", |
34 | 36 | "lint": "pnpm run stub && eslint .",
|
35 | 37 | "prepack": "nr build",
|
36 | 38 | "release": "bumpp && pnpm publish",
|
|
39 | 41 | "prepare": "simple-git-hooks"
|
40 | 42 | },
|
41 | 43 | "peerDependencies": {
|
42 |
| - "eslint": ">=8.0.0" |
| 44 | + "@unocss/eslint-plugin": ">=0.50.0", |
| 45 | + "eslint": ">=8.40.0", |
| 46 | + "eslint-plugin-react": "^7.33.2", |
| 47 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 48 | + "eslint-plugin-react-refresh": "^0.4.4" |
| 49 | + }, |
| 50 | + "peerDependenciesMeta": { |
| 51 | + "@unocss/eslint-plugin": { |
| 52 | + "optional": true |
| 53 | + }, |
| 54 | + "eslint-plugin-react": { |
| 55 | + "optional": true |
| 56 | + }, |
| 57 | + "eslint-plugin-react-hooks": { |
| 58 | + "optional": true |
| 59 | + }, |
| 60 | + "eslint-plugin-react-refresh": { |
| 61 | + "optional": true |
| 62 | + } |
43 | 63 | },
|
44 | 64 | "dependencies": {
|
45 |
| - "@stylistic/eslint-plugin": "^1.2.0", |
| 65 | + "@antfu/eslint-define-config": "^1.23.0-2", |
| 66 | + "@antfu/install-pkg": "^0.2.0", |
| 67 | + "@eslint-types/jsdoc": "46.8.2-1", |
| 68 | + "@eslint-types/typescript-eslint": "^6.12.0", |
| 69 | + "@eslint-types/unicorn": "^49.0.0", |
| 70 | + "@stylistic/eslint-plugin": "^1.4.0", |
46 | 71 | "@typescript-eslint/eslint-plugin": "^6.12.0",
|
47 | 72 | "@typescript-eslint/parser": "^6.12.0",
|
48 |
| - "astro-eslint-parser": "^0.16.0", |
49 | 73 | "eslint-config-flat-gitignore": "^0.1.1",
|
50 |
| - "eslint-define-config": "^1.24.1", |
51 |
| - "eslint-plugin-antfu": "1.0.11", |
52 |
| - "eslint-plugin-astro": "^0.29.1", |
| 74 | + "eslint-plugin-antfu": "^1.0.10", |
53 | 75 | "eslint-plugin-eslint-comments": "^3.2.0",
|
54 | 76 | "eslint-plugin-i": "^2.29.0",
|
55 | 77 | "eslint-plugin-jsdoc": "^46.9.0",
|
56 | 78 | "eslint-plugin-jsonc": "^2.10.0",
|
57 | 79 | "eslint-plugin-markdown": "^3.0.1",
|
58 | 80 | "eslint-plugin-n": "^16.3.1",
|
59 | 81 | "eslint-plugin-no-only-tests": "^3.1.0",
|
60 |
| - "eslint-plugin-react": "^7.33.2", |
61 |
| - "eslint-plugin-react-hooks": "^4.6.0", |
| 82 | + "eslint-plugin-perfectionist": "^2.4.0", |
62 | 83 | "eslint-plugin-unicorn": "^49.0.0",
|
63 | 84 | "eslint-plugin-unused-imports": "^3.0.0",
|
64 | 85 | "eslint-plugin-vitest": "^0.3.10",
|
|
67 | 88 | "globals": "^13.23.0",
|
68 | 89 | "jsonc-eslint-parser": "^2.4.0",
|
69 | 90 | "local-pkg": "^0.5.0",
|
| 91 | + "parse-gitignore": "^2.0.0", |
| 92 | + "picocolors": "^1.0.0", |
| 93 | + "prompts": "^2.4.2", |
70 | 94 | "vue-eslint-parser": "^9.3.2",
|
71 |
| - "yaml-eslint-parser": "^1.2.2" |
| 95 | + "yaml-eslint-parser": "^1.2.2", |
| 96 | + "yargs": "^17.7.2" |
72 | 97 | },
|
73 | 98 | "devDependencies": {
|
74 |
| - "@stylistic/eslint-plugin-migrate": "^0.0.6", |
| 99 | + "@antfu/ni": "^0.21.10", |
| 100 | + "@stylistic/eslint-plugin-migrate": "^1.4.0", |
75 | 101 | "@types/eslint": "^8.44.7",
|
76 |
| - "@types/node": "^20.10.0", |
77 |
| - "@types/react": "^18.2.38", |
| 102 | + "@types/fs-extra": "^11.0.4", |
| 103 | + "@types/node": "^20.9.4", |
| 104 | + "@types/prompts": "^2.4.9", |
| 105 | + "@types/yargs": "^17.0.32", |
| 106 | + "@unocss/eslint-plugin": "^0.57.7", |
78 | 107 | "bumpp": "^9.2.0",
|
79 | 108 | "eslint": "^8.54.0",
|
80 | 109 | "eslint-flat-config-viewer": "^0.1.3",
|
81 |
| - "eslint-plugin-sort-keys": "^2.3.5", |
82 |
| - "nano-staged": "^0.8.0", |
83 |
| - "react": "^18.2.0", |
| 110 | + "eslint-plugin-react": "^7.33.2", |
| 111 | + "eslint-plugin-react-hooks": "^4.6.0", |
| 112 | + "eslint-plugin-react-refresh": "^0.4.4", |
| 113 | + "esno": "^4.0.0", |
| 114 | + "execa": "^8.0.1", |
| 115 | + "fast-glob": "^3.3.2", |
| 116 | + "fs-extra": "^11.1.1", |
| 117 | + "lint-staged": "^15.1.0", |
| 118 | + "rimraf": "^5.0.5", |
84 | 119 | "simple-git-hooks": "^2.9.0",
|
85 |
| - "sucrase": "^3.34.0", |
86 |
| - "tsup": "^7.2.0", |
| 120 | + "tsup": "^8.0.1", |
87 | 121 | "typescript": "^5.3.2",
|
88 | 122 | "vitest": "^0.34.6"
|
89 | 123 | },
|
|
0 commit comments