| [9af201e] | 1 | {
|
|---|
| 2 | "name": "enhanced-resolve",
|
|---|
| 3 | "version": "5.21.6",
|
|---|
| 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",
|
|---|
| 18 | "files": [
|
|---|
| 19 | "lib",
|
|---|
| 20 | "types.d.ts",
|
|---|
| 21 | "LICENSE"
|
|---|
| 22 | ],
|
|---|
| 23 | "scripts": {
|
|---|
| 24 | "prepare": "husky",
|
|---|
| 25 | "lint": "npm run lint:code && npm run lint:types && npm run lint:types-test && npm run lint:special && npm run fmt:check && npm run lint:spellcheck",
|
|---|
| 26 | "lint:code": "eslint --cache .",
|
|---|
| 27 | "lint:special": "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 --cache --no-must-find-files --quiet \"**/*.*\"",
|
|---|
| 31 | "fmt": "npm run fmt:base -- --log-level warn --write",
|
|---|
| 32 | "fmt:check": "npm run fmt:base -- --check",
|
|---|
| 33 | "fmt:base": "node_modules/prettier/bin/prettier.cjs --cache --ignore-unknown .",
|
|---|
| 34 | "fix": "npm run fix:code && npm run fix:special",
|
|---|
| 35 | "fix:code": "npm run 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 && npm run cover:types && npm run cover:report && open-cli coverage/lcov-report/index.html",
|
|---|
| 38 | "pretest": "npm run lint",
|
|---|
| 39 | "test": "npm run test:coverage",
|
|---|
| 40 | "test:only": "jest",
|
|---|
| 41 | "test:watch": "npm run test:only -- --watch",
|
|---|
| 42 | "test:coverage": "npm run test:only -- --collectCoverageFrom=\"lib/**/*.js\" --coverage",
|
|---|
| 43 | "version": "changeset version",
|
|---|
| 44 | "release": "changeset publish",
|
|---|
| 45 | "benchmark": "node --max-old-space-size=4096 --hash-seed=1 --random-seed=1 --no-opt --predictable --predictable-gc-schedule --interpreted-frames-native-stack --allow-natives-syntax --expose-gc --no-concurrent-sweeping ./benchmark/run.mjs"
|
|---|
| 46 | },
|
|---|
| 47 | "lint-staged": {
|
|---|
| 48 | "*.{js,cjs,mjs}": [
|
|---|
| 49 | "eslint --cache --fix"
|
|---|
| 50 | ],
|
|---|
| 51 | "*": [
|
|---|
| 52 | "prettier --cache --write --ignore-unknown",
|
|---|
| 53 | "cspell --cache --no-must-find-files"
|
|---|
| 54 | ]
|
|---|
| 55 | },
|
|---|
| 56 | "dependencies": {
|
|---|
| 57 | "graceful-fs": "^4.2.4",
|
|---|
| 58 | "tapable": "^2.3.3"
|
|---|
| 59 | },
|
|---|
| 60 | "devDependencies": {
|
|---|
| 61 | "@changesets/cli": "^2.30.0",
|
|---|
| 62 | "@changesets/get-github-info": "^0.8.0",
|
|---|
| 63 | "@codspeed/core": "^5.2.0",
|
|---|
| 64 | "@types/graceful-fs": "^4.1.6",
|
|---|
| 65 | "@types/jest": "^30.0.0",
|
|---|
| 66 | "@types/node": "^24.10.4",
|
|---|
| 67 | "cspell": "^10.0.0",
|
|---|
| 68 | "eslint": "^9.39.2",
|
|---|
| 69 | "eslint-config-webpack": "^4.9.5",
|
|---|
| 70 | "husky": "^9.1.7",
|
|---|
| 71 | "jest": "^30.3.0",
|
|---|
| 72 | "lint-staged": "^17.0.4",
|
|---|
| 73 | "memfs": "^4.56.11",
|
|---|
| 74 | "prettier": "^3.7.4",
|
|---|
| 75 | "prettier-2": "npm:prettier@^2",
|
|---|
| 76 | "tooling": "webpack/tooling#v1.26.1",
|
|---|
| 77 | "tinybench": "^6.0.0",
|
|---|
| 78 | "typescript": "^6.0.2"
|
|---|
| 79 | },
|
|---|
| 80 | "engines": {
|
|---|
| 81 | "node": ">=10.13.0"
|
|---|
| 82 | }
|
|---|
| 83 | }
|
|---|