|
1 | 1 | {
|
2 | 2 | "name": "todoctor",
|
3 |
| - "description": "CLI tool to analyze and report TODO comments in JavaScript and TypeScript Git repositories", |
4 |
| - "type": "module", |
5 | 3 | "version": "1.3.1",
|
6 |
| - "repository": "azat-io/todoctor", |
7 |
| - "author": "Azat S. <[email protected]>", |
8 |
| - "license": "MIT", |
| 4 | + "description": "CLI tool to analyze and report TODO comments in JavaScript and TypeScript Git repositories", |
9 | 5 | "keywords": [
|
10 | 6 | "analysis",
|
11 | 7 | "fixme",
|
|
16 | 12 | "todo",
|
17 | 13 | "visualization"
|
18 | 14 | ],
|
| 15 | + "repository": "azat-io/todoctor", |
| 16 | + "license": "MIT", |
| 17 | + "author": "Azat S. <[email protected]>", |
| 18 | + "type": "module", |
19 | 19 | "bin": {
|
20 | 20 | "todoctor": "./bin/todoctor.js"
|
21 | 21 | },
|
| 22 | + "files": [ |
| 23 | + "./bin", |
| 24 | + "./build", |
| 25 | + "./dist" |
| 26 | + ], |
22 | 27 | "scripts": {
|
23 |
| - "start": "pnpm run /^start:/", |
24 |
| - "start:preview": "vite", |
25 | 28 | "build": "pnpm run /^build:/",
|
26 | 29 | "build:lib": "cargo build --release && node \"./scripts/create-packages.js\" && node \"./scripts/build.js\"",
|
27 | 30 | "build:preview": "vite build",
|
| 31 | + "ci:changelog": "changelogithub", |
| 32 | + "ci:clear": "clear-package-json package.json --output package.json", |
28 | 33 | "docs:build": "DOCS=true vite build",
|
29 | 34 | "release": "pnpm release:check && pnpm release:version && pnpm release:git",
|
30 | 35 | "release:check": "pnpm test && pnpm run build",
|
31 | 36 | "release:git": "pnpm release:git:add && pnpm release:git:commit && pnpm release:git:tag && pnpm release:git:push",
|
32 | 37 | "release:git:add": "git add .",
|
33 | 38 | "release:git:commit": "git commit -m \"build: publish v$(node -p \"require('./package.json').version\")\"",
|
34 |
| - "release:git:tag": "git tag v$(node -p \"require('./package.json').version\")", |
35 | 39 | "release:git:push": "git push --follow-tags && git push origin v$(node -p \"require('./package.json').version\")",
|
| 40 | + "release:git:tag": "git tag v$(node -p \"require('./package.json').version\")", |
36 | 41 | "release:version": "changelogen --output changelog.md --release --no-commit --no-tag",
|
37 |
| - "ci:changelog": "changelogithub", |
38 |
| - "ci:clear": "clear-package-json package.json --output package.json", |
| 42 | + "start": "pnpm run /^start:/", |
| 43 | + "start:preview": "vite", |
39 | 44 | "test": "pnpm run /^test:/",
|
| 45 | + "test:css": "stylelint **/*.{svelte,css}", |
40 | 46 | "test:format": "pnpm run /^test:format:/",
|
41 | 47 | "test:format:js": "prettier --check \"**/*.{svelte,js,ts,css,json,md,yml}\"",
|
42 | 48 | "test:format:rust": "cargo fmt -- --check",
|
43 |
| - "test:css": "stylelint **/*.{svelte,css}", |
44 |
| - "test:js": "eslint \"**/*.{svelte,js,ts}\"", |
| 49 | + "test:js": "eslint --flag unstable_ts_config .", |
45 | 50 | "test:spelling": "cspell \"**/*\"",
|
46 | 51 | "test:svelte": "svelte-check",
|
47 | 52 | "test:types": "tsc --noEmit --pretty",
|
48 | 53 | "test:unit": "cargo test"
|
49 | 54 | },
|
50 |
| - "os": [ |
51 |
| - "darwin", |
52 |
| - "linux", |
53 |
| - "win32" |
54 |
| - ], |
55 |
| - "cpu": [ |
56 |
| - "x64", |
57 |
| - "arm64" |
58 |
| - ], |
59 |
| - "publishConfig": { |
60 |
| - "access": "public" |
61 |
| - }, |
62 |
| - "files": [ |
63 |
| - "./bin", |
64 |
| - "./build", |
65 |
| - "./dist" |
66 |
| - ], |
67 |
| - "optionalDependencies": { |
68 |
| - "@todoctor/darwin-arm64": "workspace:^", |
69 |
| - "@todoctor/darwin-x64": "workspace:^", |
70 |
| - "@todoctor/linux-arm64": "workspace:^", |
71 |
| - "@todoctor/linux-x64": "workspace:^", |
72 |
| - "@todoctor/win32-x64": "workspace:^" |
73 |
| - }, |
74 | 55 | "devDependencies": {
|
75 |
| - "@azat-io/eslint-config-typescript": "^1.10.0", |
| 56 | + "@azat-io/eslint-config": "^2.2.0", |
76 | 57 | "@azat-io/stylelint-config": "^0.1.1",
|
77 | 58 | "@commitlint/cli": "^19.5.0",
|
78 | 59 | "@commitlint/config-conventional": "^19.5.0",
|
|
84 | 65 | "@tanstack/table-core": "9.0.0-alpha.10",
|
85 | 66 | "@types/html-minifier-terser": "^7.0.2",
|
86 | 67 | "@types/node": "^22.8.7",
|
87 |
| - "@typescript-eslint/eslint-plugin": "^8.13.0", |
88 |
| - "@typescript-eslint/parser": "^8.13.0", |
89 | 68 | "browserslist": "^4.24.2",
|
90 | 69 | "changelogen": "^0.5.7",
|
91 | 70 | "changelogithub": "^0.13.11",
|
92 | 71 | "chart.js": "^4.4.6",
|
93 | 72 | "clean-publish": "^5.1.0",
|
94 | 73 | "cspell": "^8.15.7",
|
95 | 74 | "date-fns": "^4.1.0",
|
96 |
| - "eslint": "^9.14.0", |
97 |
| - "eslint-plugin-import": "^2.31.0", |
98 |
| - "eslint-plugin-n": "^17.12.0", |
99 |
| - "eslint-plugin-node-import": "^1.0.4", |
100 |
| - "eslint-plugin-perfectionist": "^3.9.1", |
101 |
| - "eslint-plugin-prefer-arrow": "^1.2.3", |
102 |
| - "eslint-plugin-prefer-let": "^4.0.0", |
103 |
| - "eslint-plugin-promise": "^7.1.0", |
104 |
| - "eslint-plugin-sonarjs": "^2.0.4", |
105 |
| - "eslint-plugin-svelte": "^2.46.0", |
106 |
| - "eslint-plugin-unicorn": "^56.0.0", |
107 |
| - "eslint-plugin-vitest": "^0.5.4", |
| 75 | + "eslint": "^9.15.0", |
108 | 76 | "html-minifier-terser": "^7.2.0",
|
109 | 77 | "lightningcss": "^1.28.1",
|
110 | 78 | "postcss-html": "^1.7.0",
|
|
119 | 87 | "svelte": "5.1.9",
|
120 | 88 | "svelte-chartjs": "^3.1.5",
|
121 | 89 | "svelte-check": "^4.0.5",
|
122 |
| - "svelte-eslint-parser": "^0.43.0", |
123 | 90 | "svelte-preprocess": "^6.0.3",
|
124 | 91 | "typescript": "^5.6.3",
|
125 | 92 | "vite": "^5.4.10",
|
126 | 93 | "vite-plugin-mock-dev-server": "^1.8.0",
|
127 | 94 | "vite-plugin-singlefile": "^2.0.3"
|
| 95 | + }, |
| 96 | + "optionalDependencies": { |
| 97 | + "@todoctor/darwin-arm64": "workspace:^", |
| 98 | + "@todoctor/darwin-x64": "workspace:^", |
| 99 | + "@todoctor/linux-arm64": "workspace:^", |
| 100 | + "@todoctor/linux-x64": "workspace:^", |
| 101 | + "@todoctor/win32-x64": "workspace:^" |
| 102 | + }, |
| 103 | + "os": [ |
| 104 | + "darwin", |
| 105 | + "linux", |
| 106 | + "win32" |
| 107 | + ], |
| 108 | + "cpu": [ |
| 109 | + "x64", |
| 110 | + "arm64" |
| 111 | + ], |
| 112 | + "publishConfig": { |
| 113 | + "access": "public" |
128 | 114 | }
|
129 | 115 | }
|
0 commit comments