2012-03-10 20:11:23 +08:00
{
2015-04-15 01:57:37 +08:00
"name" : "webpack" ,
2020-10-27 19:52:23 +08:00
"version" : "5.3.0" ,
2015-04-15 01:57:37 +08:00
"author" : "Tobias Koppers @sokra" ,
2016-01-04 04:42:56 +08:00
"description" : "Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff." ,
2018-01-07 00:44:20 +08:00
"license" : "MIT" ,
2015-04-15 01:57:37 +08:00
"dependencies" : {
2020-08-03 02:09:36 +08:00
"@types/eslint-scope" : "^3.7.0" ,
2020-07-03 17:34:54 +08:00
"@types/estree" : "^0.0.45" ,
2020-02-02 07:42:26 +08:00
"@webassemblyjs/ast" : "1.9.0" ,
"@webassemblyjs/helper-module-context" : "1.9.0" ,
"@webassemblyjs/wasm-edit" : "1.9.0" ,
"@webassemblyjs/wasm-parser" : "1.9.0" ,
2020-10-22 17:00:54 +08:00
"acorn" : "^8.0.4" ,
"browserslist" : "^4.14.5" ,
2019-08-01 22:51:20 +08:00
"chrome-trace-event" : "^1.0.2" ,
2020-10-23 20:58:55 +08:00
"enhanced-resolve" : "^5.3.1" ,
2020-10-22 17:00:54 +08:00
"eslint-scope" : "^5.1.1" ,
2020-08-12 01:55:44 +08:00
"events" : "^3.2.0" ,
2019-05-17 03:12:59 +08:00
"glob-to-regexp" : "^0.4.1" ,
2020-08-12 01:55:44 +08:00
"graceful-fs" : "^4.2.4" ,
2018-05-19 17:09:30 +08:00
"json-parse-better-errors" : "^1.0.2" ,
2020-09-30 15:51:16 +08:00
"loader-runner" : "^4.1.0" ,
2020-08-12 01:55:44 +08:00
"mime-types" : "^2.1.27" ,
"neo-async" : "^2.6.2" ,
2019-08-20 03:57:49 +08:00
"pkg-dir" : "^4.2.0" ,
2020-10-06 02:41:45 +08:00
"schema-utils" : "^3.0.0" ,
2020-09-18 08:04:32 +08:00
"tapable" : "^2.0.0" ,
2020-10-15 15:18:42 +08:00
"terser-webpack-plugin" : "^5.0.0" ,
2020-09-18 08:04:32 +08:00
"watchpack" : "^2.0.0" ,
2020-10-26 16:10:26 +08:00
"webpack-sources" : "^2.1.0"
2015-04-15 01:57:37 +08:00
} ,
2020-07-17 18:42:39 +08:00
"peerDependenciesMeta" : {
"webpack-cli" : {
"optional" : true
}
} ,
2015-04-15 01:57:37 +08:00
"devDependencies" : {
2020-08-12 01:55:44 +08:00
"@babel/core" : "^7.11.1" ,
"@babel/preset-react" : "^7.10.4" ,
"@types/jest" : "^25.2.3" ,
"@types/node" : "^13.13.15" ,
"babel-loader" : "^8.1.0" ,
"benchmark" : "^2.1.4" ,
"bundle-loader" : "^0.5.6" ,
2020-05-23 21:01:11 +08:00
"coffee-loader" : "^1.0.0" ,
2020-08-12 01:55:44 +08:00
"coffeescript" : "^2.5.1" ,
2020-08-31 20:37:06 +08:00
"core-js" : "^3.6.5" ,
2020-08-12 01:55:44 +08:00
"coveralls" : "^3.1.0" ,
"cspell" : "^4.0.63" ,
"css-loader" : "^3.6.0" ,
"date-fns" : "^2.15.0" ,
2020-09-30 15:51:16 +08:00
"es5-ext" : "^0.10.53" ,
2020-08-12 01:55:44 +08:00
"es6-promise-polyfill" : "^1.2.0" ,
"eslint" : "^6.8.0" ,
"eslint-config-prettier" : "^6.11.0" ,
"eslint-plugin-jest" : "^23.20.0" ,
2020-03-03 20:37:18 +08:00
"eslint-plugin-jsdoc" : "^22.0.0" ,
"eslint-plugin-node" : "^11.0.0" ,
2020-08-12 01:55:44 +08:00
"eslint-plugin-prettier" : "^3.1.4" ,
2020-05-23 21:01:11 +08:00
"file-loader" : "^6.0.0" ,
2019-08-06 15:00:05 +08:00
"fork-ts-checker-webpack-plugin" : "^1.5.0" ,
2020-08-12 01:55:44 +08:00
"husky" : "^4.2.5" ,
2020-05-20 13:59:41 +08:00
"is-ci" : "^2.0.0" ,
2016-12-29 04:31:33 +08:00
"istanbul" : "^0.4.5" ,
2020-02-25 21:17:03 +08:00
"jest" : "^25.1.0" ,
"jest-diff" : "^25.1.0" ,
2020-08-12 01:55:44 +08:00
"jest-junit" : "^11.1.0" ,
2017-11-12 01:48:29 +08:00
"json-loader" : "^0.5.7" ,
2020-08-12 01:55:44 +08:00
"json5" : "^2.1.3" ,
"less" : "^3.12.2" ,
"less-loader" : "^6.2.0" ,
"lint-staged" : "^10.2.11" ,
2020-05-23 21:01:11 +08:00
"loader-utils" : "^2.0.0" ,
2020-08-12 01:55:44 +08:00
"lodash" : "^4.17.19" ,
2019-12-17 02:48:27 +08:00
"lodash-es" : "^4.17.15" ,
2020-08-12 01:55:44 +08:00
"memfs" : "^3.2.0" ,
2020-10-16 14:26:59 +08:00
"mini-css-extract-plugin" : "^1.0.0" ,
2020-08-12 01:55:44 +08:00
"mini-svg-data-uri" : "^1.2.3" ,
"open-cli" : "^6.0.1" ,
"prettier" : "^2.0.5" ,
"pretty-format" : "^26.3.0" ,
"pug" : "^3.0.0" ,
2018-05-10 15:13:17 +08:00
"pug-loader" : "^2.4.0" ,
2020-05-23 21:01:11 +08:00
"raw-loader" : "^4.0.1" ,
2020-08-12 01:55:44 +08:00
"react" : "^16.13.1" ,
"react-dom" : "^16.13.1" ,
"rimraf" : "^3.0.2" ,
"script-loader" : "^0.7.2" ,
"simple-git" : "^2.17.0" ,
2020-03-03 22:24:13 +08:00
"strip-ansi" : "^6.0.0" ,
2020-08-12 01:55:44 +08:00
"style-loader" : "^1.1.4" ,
2020-08-05 14:41:50 +08:00
"terser" : "^4.8.0" ,
2019-11-29 01:12:11 +08:00
"toml" : "^3.0.0" ,
2020-06-02 17:53:40 +08:00
"tooling" : "webpack/tooling#v1.8.0" ,
2020-08-12 01:55:44 +08:00
"ts-loader" : "^8.0.2" ,
"typescript" : "^3.9.7" ,
2020-05-23 21:01:11 +08:00
"url-loader" : "^4.1.0" ,
2020-08-12 01:55:44 +08:00
"wast-loader" : "^1.9.0" ,
2020-02-02 07:42:26 +08:00
"webassembly-feature" : "1.3.0" ,
2020-08-12 01:55:44 +08:00
"worker-loader" : "^3.0.1" ,
"xxhashjs" : "^0.2.2" ,
2020-05-20 13:59:41 +08:00
"yamljs" : "^0.3.0" ,
2020-08-12 01:55:44 +08:00
"yarn-deduplicate" : "^2.1.1"
2015-04-15 01:57:37 +08:00
} ,
"engines" : {
2019-10-21 21:07:11 +08:00
"node" : ">=10.13.0"
2015-04-15 01:57:37 +08:00
} ,
"repository" : {
"type" : "git" ,
2015-07-23 07:26:50 +08:00
"url" : "https://github.com/webpack/webpack.git"
2015-04-15 01:57:37 +08:00
} ,
2019-11-12 21:16:56 +08:00
"funding" : {
"type" : "opencollective" ,
"url" : "https://opencollective.com/webpack"
} ,
2015-07-23 07:26:50 +08:00
"homepage" : "https://github.com/webpack/webpack" ,
2018-12-09 21:26:35 +08:00
"main" : "lib/index.js" ,
2015-04-15 01:57:37 +08:00
"bin" : "./bin/webpack.js" ,
2020-03-21 21:01:38 +08:00
"types" : "types.d.ts" ,
2015-04-21 14:57:51 +08:00
"files" : [
"lib/" ,
"bin/" ,
"hot/" ,
2018-04-25 02:59:43 +08:00
"schemas/" ,
2020-03-21 21:01:38 +08:00
"SECURITY.md" ,
"types.d.ts"
2015-04-21 14:57:51 +08:00
] ,
2015-04-15 01:57:37 +08:00
"scripts" : {
2018-04-04 18:28:03 +08:00
"setup" : "node ./setup/setup.js" ,
2018-04-12 23:35:54 +08:00
"test" : "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest" ,
2018-06-27 21:47:45 +08:00
"test:update-snapshots" : "yarn jest -u" ,
2018-04-12 23:35:54 +08:00
"test:integration" : "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"" ,
2019-02-06 19:07:23 +08:00
"test:basic" : "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/te{st/TestCasesNormal,st/StatsTestCases,st/ConfigTestCases}.test.js\"" ,
2018-04-12 23:35:54 +08:00
"test:unit" : "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"" ,
2019-05-22 20:01:02 +08:00
"travis:integration" : "yarn cover:integration --ci $JEST" ,
"travis:basic" : "yarn cover:basic --ci $JEST" ,
"travis:lintunit" : "yarn lint && yarn cover:unit --ci $JEST" ,
2018-04-12 05:50:16 +08:00
"travis:benchmark" : "yarn benchmark --ci" ,
2019-05-22 20:01:02 +08:00
"appveyor:integration" : "yarn cover:integration --ci %JEST%" ,
"appveyor:unit" : "yarn cover:unit --ci %JEST%" ,
2018-04-12 05:50:16 +08:00
"appveyor:benchmark" : "yarn benchmark --ci" ,
2016-10-16 06:02:47 +08:00
"build:examples" : "cd examples && node buildAll.js" ,
2019-07-12 16:22:32 +08:00
"type-report" : "rimraf coverage && yarn cover:types && yarn cover:report && open-cli coverage/lcov-report/index.html" ,
2018-04-04 18:28:03 +08:00
"pretest" : "yarn lint" ,
"prelint" : "yarn setup" ,
2020-05-20 13:59:41 +08:00
"lint" : "yarn code-lint && yarn special-lint && yarn type-lint && yarn typings-lint && yarn yarn-lint && yarn pretty-lint && yarn spellcheck" ,
2019-08-22 18:16:39 +08:00
"code-lint" : "eslint . --ext '.js' --cache" ,
2020-03-21 21:01:38 +08:00
"type-lint" : "tsc" ,
2020-04-20 13:36:55 +08:00
"typings-lint" : "tsc -p tsconfig.test.json" ,
2020-03-13 00:51:26 +08:00
"spellcheck" : "cspell \"{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}\" \"*.md\"" ,
2020-08-05 14:41:50 +08:00
"special-lint" : "node node_modules/tooling/lockfile-lint && node node_modules/tooling/schemas-lint && node node_modules/tooling/inherit-types && node node_modules/tooling/format-schemas && node tooling/generate-runtime-code.js && node node_modules/tooling/format-file-header && node node_modules/tooling/compile-to-definitions && node node_modules/tooling/generate-types" ,
"special-lint-fix" : "node node_modules/tooling/inherit-types --write && node node_modules/tooling/format-schemas --write && node tooling/generate-runtime-code.js --write && node node_modules/tooling/format-file-header --write && node node_modules/tooling/compile-to-definitions --write && node node_modules/tooling/generate-types --write" ,
2020-03-23 15:57:00 +08:00
"fix" : "yarn code-lint --fix && yarn special-lint-fix && yarn pretty-lint-fix" ,
2020-03-30 16:55:51 +08:00
"pretty-lint-base" : "prettier \"*.{ts,json,yml,yaml,md}\" \"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.json\" \"examples/*.md\"" ,
"pretty-lint-base-all" : "yarn pretty-lint-base \"*.js\" \"{setup,lib,bin,hot,benchmark,tooling,schemas}/**/*.js\" \"test/*.js\" \"test/helpers/*.js\" \"test/{configCases,watchCases,statsCases,hotCases,benchmarkCases}/**/webpack.config.js\" \"examples/**/webpack.config.js\"" ,
"pretty-lint-fix" : "yarn pretty-lint-base-all --loglevel warn --write" ,
"pretty-lint" : "yarn pretty-lint-base --check" ,
2020-05-20 13:59:41 +08:00
"yarn-lint" : "yarn-deduplicate --fail --list -s highest yarn.lock" ,
"yarn-lint-fix" : "yarn-deduplicate -s highest yarn.lock" ,
2018-04-19 06:41:03 +08:00
"benchmark" : "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand" ,
2019-05-22 20:01:02 +08:00
"cover" : "yarn cover:all && yarn cover:report" ,
2018-04-12 23:35:54 +08:00
"cover:all" : "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage" ,
2019-05-22 20:01:02 +08:00
"cover:basic" : "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/te{st/TestCasesNormal,st/StatsTestCases,st/ConfigTestCases}.test.js\" --coverage" ,
2018-04-12 23:35:54 +08:00
"cover:integration" : "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\" --coverage" ,
"cover:unit" : "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\" --coverage" ,
2020-03-21 21:01:38 +08:00
"cover:types" : "node node_modules/tooling/type-coverage" ,
2020-06-30 00:28:25 +08:00
"cover:report" : "istanbul report"
2018-01-24 20:17:21 +08:00
} ,
2018-05-16 19:43:54 +08:00
"husky" : {
"hooks" : {
"pre-commit" : "lint-staged"
}
} ,
"lint-staged" : {
2019-06-22 22:26:35 +08:00
"*.js|{lib,setup,bin,hot,tooling,schemas}/**/*.js|test/*.js|{test,examples}/**/webpack.config.js}" : [
2018-05-16 19:43:54 +08:00
"eslint --cache"
2020-03-13 17:13:55 +08:00
] ,
2020-03-23 15:57:00 +08:00
"*.{ts,json,yml,yaml,md}|examples/*.md" : [
"prettier --check"
2020-03-23 15:29:53 +08:00
] ,
2020-03-13 17:13:55 +08:00
"*.md|{.github,benchmark,bin,examples,hot,lib,schemas,setup,tooling}/**/*.{md,yml,yaml,js,json}" : [
"cspell"
2018-05-16 19:43:54 +08:00
]
} ,
2018-01-24 20:17:21 +08:00
"jest" : {
2018-05-04 15:27:47 +08:00
"forceExit" : true ,
2018-10-24 20:45:30 +08:00
"setupFilesAfterEnv" : [
"<rootDir>/test/setupTestFramework.js"
] ,
2018-01-27 23:35:04 +08:00
"testMatch" : [
"<rootDir>/test/*.test.js" ,
"<rootDir>/test/*.unittest.js"
2018-02-25 08:15:37 +08:00
] ,
"watchPathIgnorePatterns" : [
2018-08-23 22:00:17 +08:00
"<rootDir>/.git" ,
"<rootDir>/node_modules" ,
"<rootDir>/test/js" ,
"<rootDir>/test/browsertest/js" ,
"<rootDir>/test/fixtures/temp-cache-fixture" ,
2018-04-30 23:13:46 +08:00
"<rootDir>/test/fixtures/temp-" ,
2018-08-23 22:00:17 +08:00
"<rootDir>/benchmark" ,
2018-04-30 21:30:39 +08:00
"<rootDir>/examples/*/dist" ,
2018-08-23 22:00:17 +08:00
"<rootDir>/coverage" ,
"<rootDir>/.eslintcache"
2018-04-30 21:30:39 +08:00
] ,
"modulePathIgnorePatterns" : [
2018-08-23 22:00:17 +08:00
"<rootDir>/.git" ,
"<rootDir>/node_modules/webpack/node_modules" ,
"<rootDir>/test/js" ,
"<rootDir>/test/browsertest/js" ,
"<rootDir>/test/fixtures/temp-cache-fixture" ,
2018-04-30 23:13:46 +08:00
"<rootDir>/test/fixtures/temp-" ,
2018-08-23 22:00:17 +08:00
"<rootDir>/benchmark" ,
2018-04-30 21:30:39 +08:00
"<rootDir>/examples/*/dist" ,
2018-08-23 22:00:17 +08:00
"<rootDir>/coverage" ,
"<rootDir>/.eslintcache"
2018-02-25 08:15:37 +08:00
] ,
"transformIgnorePatterns" : [
2018-08-23 22:00:17 +08:00
"<rootDir>"
2018-02-25 08:46:21 +08:00
] ,
"coverageDirectory" : "<rootDir>/coverage" ,
2018-03-06 05:48:18 +08:00
"coveragePathIgnorePatterns" : [
2018-04-12 05:31:15 +08:00
"\\.runtime\\.js$" ,
2018-08-23 22:00:17 +08:00
"<rootDir>/test" ,
"<rootDir>/schemas" ,
"<rootDir>/node_modules"
2018-03-07 08:15:41 +08:00
] ,
2018-04-12 05:31:15 +08:00
"testEnvironment" : "node" ,
"coverageReporters" : [
2018-04-19 04:58:36 +08:00
"json"
2018-04-12 05:31:15 +08:00
]
2015-04-15 01:57:37 +08:00
}
2014-06-05 15:31:47 +08:00
}