|
1 | 1 | {
|
2 | 2 | "name": "enhanced-resolve",
|
3 | 3 | "version": "5.18.2",
|
4 |
| - "author": "Tobias Koppers @sokra", |
5 | 4 | "description": "Offers a async require.resolve function. It's highly configurable.",
|
| 5 | + "homepage": "http://github.com/webpack/enhanced-resolve", |
| 6 | + "repository": { |
| 7 | + "type": "git", |
| 8 | + "url": "git://github.com/webpack/enhanced-resolve.git" |
| 9 | + }, |
| 10 | + "license": "MIT", |
| 11 | + "author": "Tobias Koppers @sokra", |
| 12 | + "main": "lib/index.js", |
| 13 | + "browser": { |
| 14 | + "process": "./lib/util/process-browser.js", |
| 15 | + "module": "./lib/util/module-browser.js" |
| 16 | + }, |
| 17 | + "types": "types.d.ts", |
6 | 18 | "files": [
|
7 | 19 | "lib",
|
8 | 20 | "types.d.ts",
|
9 | 21 | "LICENSE"
|
10 | 22 | ],
|
11 |
| - "browser": { |
12 |
| - "process": "./lib/util/process-browser.js", |
13 |
| - "module": "./lib/util/module-browser.js" |
| 23 | + "scripts": { |
| 24 | + "prepare": "husky install", |
| 25 | + "lint": "yarn lint:code && yarn lint:types && yarn lint:types-test && yarn lint:special && yarn fmt:check && yarn lint:spellcheck", |
| 26 | + "lint:code": "eslint --cache .", |
| 27 | + "lint:special": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/generate-types", |
| 28 | + "lint:types": "tsc", |
| 29 | + "lint:types-test": "tsc -p tsconfig.types.test.json", |
| 30 | + "lint:spellcheck": "cspell --no-must-find-files \"**/*.*\"", |
| 31 | + "fmt": "yarn fmt:base --loglevel warn --write", |
| 32 | + "fmt:check": "yarn fmt:base --check", |
| 33 | + "fmt:base": "node_modules/prettier/bin/prettier.cjs --cache --ignore-unknown .", |
| 34 | + "fix": "yarn fix:code && yarn fix:special", |
| 35 | + "fix:code": "yarn lint:code --fix", |
| 36 | + "fix:special": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/generate-types --write", |
| 37 | + "type-report": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html", |
| 38 | + "pretest": "yarn lint", |
| 39 | + "test": "yarn test:coverage", |
| 40 | + "test:only": "jest", |
| 41 | + "test:watch": "yarn test:only --watch", |
| 42 | + "test:coverage": "yarn test:only --collectCoverageFrom=\"lib/**/*.js\" --coverage" |
| 43 | + }, |
| 44 | + "lint-staged": { |
| 45 | + "*.{js,cjs,mjs}": [ |
| 46 | + "eslint --cache --fix" |
| 47 | + ], |
| 48 | + "*": [ |
| 49 | + "prettier --cache --write --ignore-unknown", |
| 50 | + "cspell --cache --no-must-find-files" |
| 51 | + ] |
14 | 52 | },
|
15 | 53 | "dependencies": {
|
16 | 54 | "graceful-fs": "^4.2.4",
|
17 | 55 | "tapable": "^2.2.0"
|
18 | 56 | },
|
19 |
| - "license": "MIT", |
20 | 57 | "devDependencies": {
|
21 |
| - "@eslint/js": ">= 9.28.0", |
22 |
| - "@eslint/markdown": ">= 6.5.0", |
| 58 | + "@eslint/js": "^9.28.0", |
| 59 | + "@eslint/markdown": "^7.1.0", |
23 | 60 | "@types/graceful-fs": "^4.1.6",
|
24 | 61 | "@types/jest": "^27.5.1",
|
25 | 62 | "@types/node": "^24.0.3",
|
26 |
| - "@stylistic/eslint-plugin": ">= 4.4.1", |
| 63 | + "@stylistic/eslint-plugin": "^5.2.2", |
27 | 64 | "cspell": "4.2.8",
|
28 | 65 | "eslint": "^9.28.0",
|
29 | 66 | "eslint-config-prettier": "^10.1.5",
|
30 | 67 | "eslint-config-webpack": "^4.1.2",
|
31 | 68 | "eslint-plugin-import": "^2.31.0",
|
32 | 69 | "eslint-plugin-jest": "^29.0.1",
|
33 |
| - "eslint-plugin-jsdoc": "^51.2.2", |
| 70 | + "eslint-plugin-jsdoc": "^52.0.2", |
34 | 71 | "eslint-plugin-n": "^17.19.0",
|
35 | 72 | "eslint-plugin-prettier": "^5.4.1",
|
36 |
| - "eslint-plugin-unicorn": "^59.0.1", |
| 73 | + "eslint-plugin-unicorn": "^60.0.0", |
37 | 74 | "globals": "^16.2.0",
|
38 | 75 | "husky": "^6.0.0",
|
39 | 76 | "jest": "^27.5.1",
|
|
46 | 83 | },
|
47 | 84 | "engines": {
|
48 | 85 | "node": ">=10.13.0"
|
49 |
| - }, |
50 |
| - "main": "lib/index.js", |
51 |
| - "types": "types.d.ts", |
52 |
| - "homepage": "http://github.com/webpack/enhanced-resolve", |
53 |
| - "scripts": { |
54 |
| - "prepare": "husky install", |
55 |
| - "lint": "yarn lint:code && yarn lint:types && yarn lint:types-test && yarn lint:special && yarn fmt:check && yarn lint:spellcheck", |
56 |
| - "lint:code": "eslint --cache .", |
57 |
| - "lint:special": "node node_modules/tooling/lockfile-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-file-header && node node_modules/tooling/generate-types", |
58 |
| - "lint:types": "tsc", |
59 |
| - "lint:types-test": "tsc -p tsconfig.types.test.json", |
60 |
| - "lint:spellcheck": "cspell --no-must-find-files \"**/*.*\"", |
61 |
| - "fmt": "yarn fmt:base --loglevel warn --write", |
62 |
| - "fmt:check": "yarn fmt:base --check", |
63 |
| - "fmt:base": "node_modules/prettier/bin/prettier.cjs --cache --ignore-unknown .", |
64 |
| - "fix": "yarn fix:code && yarn fix:special", |
65 |
| - "fix:code": "yarn lint:code --fix", |
66 |
| - "fix:special": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/generate-types --write", |
67 |
| - "type-report": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html", |
68 |
| - "pretest": "yarn lint", |
69 |
| - "test": "yarn test:coverage", |
70 |
| - "test:only": "jest", |
71 |
| - "test:watch": "yarn test:only --watch", |
72 |
| - "test:coverage": "yarn test:only --collectCoverageFrom=\"lib/**/*.js\" --coverage" |
73 |
| - }, |
74 |
| - "lint-staged": { |
75 |
| - "*.{js,cjs,mjs}": [ |
76 |
| - "eslint --cache --fix" |
77 |
| - ], |
78 |
| - "*": [ |
79 |
| - "prettier --cache --write --ignore-unknown", |
80 |
| - "cspell --cache --no-must-find-files" |
81 |
| - ] |
82 |
| - }, |
83 |
| - "repository": { |
84 |
| - "type": "git", |
85 |
| - "url": "git://github.com/webpack/enhanced-resolve.git" |
86 | 86 | }
|
87 | 87 | }
|
0 commit comments