|
3 | 3 | "version": "0.0.0-dev", |
4 | 4 | "license": "MIT", |
5 | 5 | "description": "Disallow disable rules by `eslint-disable` comment", |
6 | | - "keywords": [ |
7 | | - "eslintplugin", |
8 | | - "eslint-plugin" |
9 | | - ], |
10 | | - "main": "./dist/index.cjs", |
| 6 | + "keywords": ["eslintplugin", "eslint-plugin"], |
11 | 7 | "module": "./dist/index.mjs", |
12 | 8 | "types": "./dist/index.d.ts", |
13 | 9 | "exports": { |
14 | 10 | ".": { |
15 | | - "import": "./dist/index.mjs", |
16 | | - "require": "./dist/index.cjs" |
| 11 | + "default": "./dist/index.mjs" |
17 | 12 | } |
18 | 13 | }, |
19 | 14 | "scripts": { |
20 | | - "test": "npm run eslint && npm run tscheck && npm run test:cov", |
21 | | - "test:r": "npm run mocha -- src/**/*.spec.ts", |
22 | | - "test:cov": "c8 --reporter text --exclude \"**/*.spec.ts\" --exclude \"**/testing/**\" npm run test:r -- --no-timeouts", |
23 | | - "test:w": "npm run test:r -- --watch-files src --watch", |
| 15 | + "test": "npm run eslint && npm run tscheck && npm run test:r", |
| 16 | + "test:r": "vitest run", |
| 17 | + "test:cov": "vitest run --coverage", |
| 18 | + "test:w": "vitest watch", |
24 | 19 | "lint": "npm run eslint && npm run tscheck", |
25 | 20 | "eslint": "node node_modules/eslint/bin/eslint \"src/**/*.{ts,tsx}\"", |
26 | | - "eslint:w": "watchexec -w src \"npm run eslint\"", |
27 | 21 | "eslint:fix": "npm run eslint -- --fix", |
28 | 22 | "tscheck": "tsc --noEmit", |
29 | 23 | "tscheck:w": "npm run tscheck -- --watch", |
30 | | - "lint:fix": "npm run eslint:fix && npm run lint:doc:fix", |
31 | | - "lint:doc": "sh Taskfile remark_run", |
32 | | - "lint:doc:fix": "sh Taskfile remark_run --output", |
33 | 24 | "format:src": "prettier src --write", |
34 | | - "commit_lint": "sh Taskfile commit_lint", |
35 | 25 | "commit": "cz", |
36 | 26 | "dev": "node node_modules/webpack-dev-server/bin/webpack-dev-server", |
37 | | - "build": "sh Taskfile build_pkgroll", |
| 27 | + "build": "sh Taskfile buildMicrobundle5", |
38 | 28 | "lint:w": "run-p tscheck:w eslint:w", |
39 | | - "test:m": "node node_modules/@stryker-mutator/core/bin/stryker.js run", |
40 | | - "mocha": "node -r ts-node/register node_modules/mocha/bin/mocha", |
41 | | - "test:d": "ndb -r ts-node/register node_modules/mocha/bin/mocha src/**/*.spec.ts --watch-files src --no-timeouts --watch" |
| 29 | + "test:m": "node node_modules/@stryker-mutator/core/bin/stryker.js run" |
42 | 30 | }, |
43 | 31 | "peerDependencies": { |
44 | | - "eslint": "7 8" |
| 32 | + "eslint": "9" |
45 | 33 | }, |
46 | 34 | "config": {}, |
47 | 35 | "devDependencies": { |
48 | | - "@commitlint/cli": "17.0.3", |
49 | | - "@commitlint/config-conventional": "17.0.3", |
50 | | - "@semantic-release/changelog": "^6.0.1", |
| 36 | + "@commitlint/cli": "^19.8.1", |
| 37 | + "@commitlint/config-conventional": "^19.8.1", |
| 38 | + "@eslint/js": "^9.33.0", |
| 39 | + "@semantic-release/changelog": "^6.0.3", |
51 | 40 | "@semantic-release/git": "^10.0.1", |
52 | | - "@types/mocha": "^9.1.1", |
53 | | - "@types/node": "18.6.2", |
54 | | - "@typescript-eslint/eslint-plugin": "5.31.0", |
55 | | - "@typescript-eslint/parser": "5.31.0", |
56 | | - "c8": "^7.12.0", |
57 | | - "commitizen": "^4.2.5", |
58 | | - "conventional-changelog-conventionalcommits": "^5.0.0", |
| 41 | + "@types/node": "24.3.0", |
| 42 | + "commitizen": "^4.3.1", |
| 43 | + "conventional-changelog-conventionalcommits": "^9.1.0", |
59 | 44 | "cz-conventional-changelog": "^3.3.0", |
60 | | - "eslint": "8.20.0", |
61 | | - "eslint-config-prettier": "8.5.0", |
62 | | - "eslint-import-resolver-node": "^0.3.6", |
63 | | - "eslint-plugin-etc": "^2.0.2", |
64 | | - "eslint-plugin-import": "^2.26.0", |
65 | | - "eslint-plugin-only-warn": "^1.0.3", |
66 | | - "eslint-plugin-prettier": "^4.2.1", |
67 | | - "eslint-plugin-promise": "^6.0.0", |
68 | | - "eslint-plugin-regexp": "^1.8.0", |
69 | | - "eslint-plugin-simple-import-sort": "^7.0.0", |
70 | | - "eslint-plugin-unicorn": "43.0.2", |
71 | | - "eslint-plugin-wix-editor": "^3.3.0", |
72 | | - "expect": "^28.1.3", |
| 45 | + "eslint": "9", |
| 46 | + "eslint-config-prettier": "^10.1.8", |
| 47 | + "eslint-import-resolver-node": "^0.3.9", |
| 48 | + "eslint-plugin-import": "^2.32.0", |
| 49 | + "eslint-plugin-only-warn": "^1.1.0", |
| 50 | + "eslint-plugin-perfectionist": "^4.15.0", |
| 51 | + "eslint-plugin-prettier": "^5.5.4", |
| 52 | + "eslint-plugin-promise": "^7.2.1", |
| 53 | + "eslint-plugin-regexp": "^2.10.0", |
| 54 | + "eslint-plugin-unicorn": "^60.0.0", |
| 55 | + "expect": "^30.0.5", |
73 | 56 | "git-branch-is": "^4.0.0", |
74 | | - "mocha": "10.0.0", |
| 57 | + "globals": "^16.3.0", |
| 58 | + "microbundle": "^0.15.1", |
75 | 59 | "npm-run-all": "^4.1.5", |
76 | | - "prettier": "^2.7.1", |
| 60 | + "prettier": "^3.6.2", |
77 | 61 | "request": "^2.88.2", |
78 | | - "semantic-release": "^19.0.3", |
| 62 | + "semantic-release": "^24.2.7", |
79 | 63 | "simplytyped": "^3.3.0", |
80 | | - "ts-node": "^10.9.1", |
81 | | - "tsconfig-paths": "^4.0.0", |
82 | | - "tslib": "^2.4.0", |
83 | | - "typescript": "4.7.4", |
84 | | - "watchexec-bin": "^1.0.0" |
| 64 | + "ts-node": "^10.9.2", |
| 65 | + "tsconfig-paths": "^4.2.0", |
| 66 | + "tslib": "^2.8.1", |
| 67 | + "typescript": "^5.9.2", |
| 68 | + "typescript-eslint": "^8.39.1", |
| 69 | + "vitest": "^3.2.4" |
85 | 70 | } |
86 | 71 | } |
0 commit comments