UNPKG

2.62 kBJSONView Raw
1{
2 "name": "enhanced-resolve",
3 "version": "5.16.1",
4 "author": "Tobias Koppers @sokra",
5 "description": "Offers a async require.resolve function. It's highly configurable.",
6 "files": [
7 "lib",
8 "types.d.ts",
9 "LICENSE"
10 ],
11 "browser": {
12 "process": "./lib/util/process-browser.js",
13 "module": "./lib/util/module-browser.js"
14 },
15 "dependencies": {
16 "graceful-fs": "^4.2.4",
17 "tapable": "^2.2.0"
18 },
19 "license": "MIT",
20 "devDependencies": {
21 "@types/graceful-fs": "^4.1.6",
22 "@types/jest": "^27.5.1",
23 "@types/node": "20.9.5",
24 "cspell": "4.2.8",
25 "eslint": "^7.9.0",
26 "eslint-config-prettier": "^6.11.0",
27 "eslint-plugin-jsdoc": "^30.5.1",
28 "eslint-plugin-node": "^11.1.0",
29 "eslint-plugin-prettier": "^3.1.4",
30 "husky": "^6.0.0",
31 "jest": "^27.5.1",
32 "lint-staged": "^10.4.0",
33 "memfs": "^3.2.0",
34 "prettier": "^2.1.2",
35 "tooling": "webpack/tooling#v1.23.1",
36 "typescript": "^5.3.3"
37 },
38 "engines": {
39 "node": ">=10.13.0"
40 },
41 "main": "lib/index.js",
42 "types": "types.d.ts",
43 "homepage": "http://github.com/webpack/enhanced-resolve",
44 "scripts": {
45 "lint": "yarn run code-lint && yarn run type-lint && yarn typings-test && yarn run special-lint && yarn run spelling",
46 "fix": "yarn run code-lint-fix && yarn run special-lint-fix",
47 "code-lint": "eslint --cache lib test",
48 "code-lint-fix": "eslint --cache lib test --fix",
49 "type-lint": "tsc",
50 "typings-test": "tsc -p tsconfig.types.test.json",
51 "type-report": "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html",
52 "special-lint": "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",
53 "special-lint-fix": "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/generate-types --write",
54 "pretty": "prettier --loglevel warn --write \"lib/**/*.{js,json}\" \"test/*.js\"",
55 "pretest": "yarn lint",
56 "spelling": "cspell \"**\"",
57 "test:only": "jest",
58 "test:watch": "yarn test:only -- --watch",
59 "test:coverage": "yarn test:only -- --collectCoverageFrom=\"lib/**/*.js\" --coverage",
60 "test": "yarn test:coverage",
61 "precover": "yarn lint",
62 "prepare": "husky install"
63 },
64 "lint-staged": {
65 "*": "cspell --no-must-find-files",
66 "*.js": "eslint --cache"
67 },
68 "repository": {
69 "type": "git",
70 "url": "git://github.com/webpack/enhanced-resolve.git"
71 }
72}