This commit is contained in:
Alex Yang
2026-03-30 01:04:46 +08:00
parent 050aa421b1
commit f627244b8f
5978 changed files with 1502187 additions and 2947 deletions
+101
View File
@@ -0,0 +1,101 @@
{
"_from": "watchpack@^2.5.1",
"_id": "watchpack@2.5.1",
"_inBundle": false,
"_integrity": "sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg==",
"_location": "/watchpack",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "watchpack@^2.5.1",
"name": "watchpack",
"escapedName": "watchpack",
"rawSpec": "^2.5.1",
"saveSpec": null,
"fetchSpec": "^2.5.1"
},
"_requiredBy": [
"/webpack"
],
"_resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.5.1.tgz",
"_shasum": "dd38b601f669e0cbf567cb802e75cead82cde102",
"_spec": "watchpack@^2.5.1",
"_where": "/root/dns/node_modules/webpack",
"author": {
"name": "Tobias Koppers @sokra"
},
"bugs": {
"url": "https://github.com/webpack/watchpack/issues"
},
"bundleDependencies": false,
"dependencies": {
"glob-to-regexp": "^0.4.1",
"graceful-fs": "^4.1.2"
},
"deprecated": false,
"description": "Wrapper library for directory and file watching.",
"devDependencies": {
"@eslint/js": "^9.28.0",
"@eslint/markdown": "^7.5.1",
"@stylistic/eslint-plugin": "^5.6.1",
"@types/glob-to-regexp": "^0.4.4",
"@types/graceful-fs": "^4.1.9",
"@types/jest": "^27.5.1",
"@types/node": "^24.10.4",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-config-webpack": "^4.7.3",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.5.0",
"eslint-plugin-jsdoc": "^61.5.0",
"eslint-plugin-n": "^17.23.1",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-unicorn": "^62.0.0",
"globals": "^16.5.0",
"jest": "^27.5.1",
"prettier": "^3.7.4",
"rimraf": "^2.6.2",
"typescript": "^5.9.3",
"write-file-atomic": "^3.0.1"
},
"directories": {
"test": "test"
},
"engines": {
"node": ">=10.13.0"
},
"files": [
"lib/",
"types/"
],
"homepage": "https://github.com/webpack/watchpack",
"license": "MIT",
"main": "lib/index.js",
"name": "watchpack",
"repository": {
"type": "git",
"url": "git+https://github.com/webpack/watchpack.git"
},
"scripts": {
"fix": "npm run fix:code && npm run fix:declarations",
"fix:code": "npm run lint:code -- --fix",
"fix:declarations": "tsc --noEmit false --declaration --emitDeclarationOnly --outDir types && npm run fmt -- ./types",
"fmt": "npm run fmt:base -- --log-level warn --write",
"fmt:base": "prettier --cache --ignore-unknown .",
"fmt:check": "npm run fmt:base -- --check",
"lint": "npm run lint:code && npm run lint:types && npm run lint:types-test && npm run lint:declarations && npm run fmt:check",
"lint:code": "eslint --cache .",
"lint:declarations": "npm run fix:declarations && git diff --exit-code ./types",
"lint:types": "tsc",
"lint:types-test": "tsc -p tsconfig.types.test.json",
"pretest": "npm run lint",
"test": "npm run test:coverage",
"test:base": "jest --runInBand",
"test:coverage": "npm run test:base -- --collectCoverageFrom=\"lib/**/*.js\" --coverage",
"test:only": "npm run test:base",
"test:watch": "npm run test:base -- --watch"
},
"types": "types/index.js",
"version": "2.5.1"
}