2012-03-10 20:11:23 +08:00
{
2015-04-15 01:57:37 +08:00
"name" : "webpack" ,
2018-06-24 16:44:01 +08:00
"version" : "4.12.1" ,
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" : {
2018-06-07 17:37:56 +08:00
"@webassemblyjs/ast" : "1.5.12" ,
"@webassemblyjs/helper-module-context" : "1.5.12" ,
"@webassemblyjs/wasm-edit" : "1.5.12" ,
"@webassemblyjs/wasm-opt" : "1.5.12" ,
"@webassemblyjs/wasm-parser" : "1.5.12" ,
2018-06-04 19:44:30 +08:00
"acorn" : "^5.6.2" ,
2018-01-07 00:44:20 +08:00
"acorn-dynamic-import" : "^3.0.0" ,
2018-02-01 05:42:42 +08:00
"ajv" : "^6.1.0" ,
"ajv-keywords" : "^3.1.0" ,
2018-06-06 11:38:48 +08:00
"chrome-trace-event" : "^1.0.0" ,
2018-02-23 01:36:41 +08:00
"enhanced-resolve" : "^4.0.0" ,
2017-11-24 07:47:01 +08:00
"eslint-scope" : "^3.7.1" ,
2018-05-19 17:09:30 +08:00
"json-parse-better-errors" : "^1.0.2" ,
2017-01-18 05:26:38 +08:00
"loader-runner" : "^2.3.0" ,
2017-05-29 06:15:18 +08:00
"loader-utils" : "^1.1.0" ,
2016-12-29 03:44:40 +08:00
"memory-fs" : "~0.4.1" ,
2018-02-21 12:42:36 +08:00
"micromatch" : "^3.1.8" ,
2015-04-15 01:57:37 +08:00
"mkdirp" : "~0.5.0" ,
2018-02-11 12:27:09 +08:00
"neo-async" : "^2.5.0" ,
2016-11-23 00:58:24 +08:00
"node-libs-browser" : "^2.0.0" ,
2018-02-26 09:24:08 +08:00
"schema-utils" : "^0.4.4" ,
2018-02-23 01:36:41 +08:00
"tapable" : "^1.0.0" ,
2018-03-22 17:55:59 +08:00
"uglifyjs-webpack-plugin" : "^1.2.4" ,
2018-03-02 17:02:53 +08:00
"watchpack" : "^1.5.0" ,
2017-12-13 18:30:15 +08:00
"webpack-sources" : "^1.0.1"
2015-04-15 01:57:37 +08:00
} ,
"devDependencies" : {
2018-04-12 00:32:05 +08:00
"@types/node" : "^9.6.4" ,
2018-03-28 13:17:50 +08:00
"@types/tapable" : "^1.0.1" ,
2016-10-26 11:36:00 +08:00
"benchmark" : "^2.1.1" ,
2015-04-15 01:57:37 +08:00
"bundle-loader" : "~0.5.0" ,
2017-02-24 04:56:16 +08:00
"codacy-coverage" : "^2.0.1" ,
2018-01-04 21:05:27 +08:00
"coffee-loader" : "^0.9.0" ,
"coffeescript" : "^1.10.0" ,
2015-04-24 20:22:50 +08:00
"coveralls" : "^2.11.2" ,
2017-05-29 06:15:18 +08:00
"css-loader" : "^0.28.3" ,
2015-10-24 17:38:00 +08:00
"es6-promise-polyfill" : "^1.1.1" ,
2018-03-26 22:56:10 +08:00
"eslint" : "^4.19.1" ,
"eslint-config-prettier" : "^2.9.0" ,
2018-05-29 22:44:45 +08:00
"eslint-plugin-jest" : "^21.17.0" ,
2018-03-26 22:56:10 +08:00
"eslint-plugin-node" : "^6.0.1" ,
"eslint-plugin-prettier" : "^2.6.0" ,
2015-07-19 00:12:18 +08:00
"express" : "~4.13.1" ,
2018-01-04 21:05:27 +08:00
"file-loader" : "^1.1.6" ,
2017-11-16 15:59:22 +08:00
"glob" : "^7.1.2" ,
2018-05-16 19:43:54 +08:00
"husky" : "^1.0.0-rc.6" ,
2017-07-24 18:28:20 +08:00
"i18n-webpack-plugin" : "^1.0.0" ,
2016-12-29 04:31:33 +08:00
"istanbul" : "^0.4.5" ,
2015-09-20 01:16:27 +08:00
"jade" : "^1.11.0" ,
2016-01-04 04:42:56 +08:00
"jade-loader" : "~0.8.0" ,
2018-05-29 22:44:45 +08:00
"jest" : "^23.0.1" ,
"jest-silent-reporter" : "^0.0.5" ,
2017-11-12 01:48:29 +08:00
"json-loader" : "^0.5.7" ,
2015-09-20 01:16:27 +08:00
"less" : "^2.5.1" ,
2017-05-29 06:15:18 +08:00
"less-loader" : "^4.0.3" ,
2018-05-16 19:43:54 +08:00
"lint-staged" : "^7.1.0" ,
2017-01-18 05:26:38 +08:00
"lodash" : "^4.17.4" ,
2018-06-14 15:55:53 +08:00
"prettier" : "^1.13.5" ,
2018-05-10 15:13:17 +08:00
"pug" : "^2.0.3" ,
"pug-loader" : "^2.4.0" ,
2015-04-15 01:57:37 +08:00
"raw-loader" : "~0.5.0" ,
2016-07-13 17:03:14 +08:00
"react" : "^15.2.1" ,
"react-dom" : "^15.2.1" ,
2017-10-19 21:40:40 +08:00
"rimraf" : "^2.6.2" ,
2016-10-26 11:36:00 +08:00
"script-loader" : "~0.7.0" ,
2017-01-18 05:26:38 +08:00
"simple-git" : "^1.65.0" ,
2018-01-04 21:05:27 +08:00
"style-loader" : "^0.19.1" ,
2018-06-06 12:11:24 +08:00
"typescript" : "^2.9.1" ,
2018-01-04 21:05:27 +08:00
"url-loader" : "^0.6.2" ,
2017-05-29 06:15:18 +08:00
"val-loader" : "^1.0.2" ,
2015-04-15 01:57:37 +08:00
"vm-browserify" : "~0.0.0" ,
2018-05-24 20:12:11 +08:00
"wast-loader" : "^1.5.5" ,
2016-12-20 06:53:30 +08:00
"webpack-dev-middleware" : "^1.9.0" ,
2018-02-26 09:24:08 +08:00
"worker-loader" : "^1.1.1" ,
2017-12-20 18:29:00 +08:00
"xxhashjs" : "^0.2.1"
2015-04-15 01:57:37 +08:00
} ,
"engines" : {
2017-11-04 16:35:19 +08:00
"node" : ">=6.11.5"
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
} ,
2015-07-23 07:26:50 +08:00
"homepage" : "https://github.com/webpack/webpack" ,
2015-04-15 01:57:37 +08:00
"main" : "lib/webpack.js" ,
"web" : "lib/webpack.web.js" ,
"bin" : "./bin/webpack.js" ,
2015-04-21 14:57:51 +08:00
"files" : [
"lib/" ,
"bin/" ,
"buildin/" ,
"hot/" ,
2016-09-19 22:50:22 +08:00
"web_modules/" ,
2018-04-25 02:59:43 +08:00
"schemas/" ,
"SECURITY.md"
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 01:57:17 +08:00
"test:update-snapshots" : "yarn test -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\"" ,
2018-05-18 01:27:51 +08:00
"test:basic" : "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/{TestCasesNormal,StatsTestCases,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\"" ,
2018-05-24 19:24:43 +08:00
"travis:integration" : "yarn cover:init && yarn cover:integration \"test/((?!TestCases)|TestCasesD)\" --ci $JEST && mv coverage/coverage-final.json coverage/coverage-final-1.json && yarn cover:integration \"test/TestCases(?!D)\" --ci $JEST && mv coverage/coverage-final.json coverage/coverage-final-2.json" ,
2018-05-18 00:14:34 +08:00
"travis:basic" : "yarn test:basic --ci $JEST" ,
2018-05-24 19:24:43 +08:00
"travis:lint-unit" : "yarn lint && yarn cover:init && yarn cover:unit --ci $JEST" ,
2018-04-12 05:50:16 +08:00
"travis:benchmark" : "yarn benchmark --ci" ,
2018-05-24 19:24:43 +08:00
"appveyor:integration" : "yarn cover:init && yarn cover:integration \"test/((?!TestCases)|TestCasesD)\" --ci %JEST% && move coverage\\coverage-final.json coverage\\coverage-final-1.json && yarn cover:integration \"test/TestCases(?!D)\" --ci %JEST% && move coverage\\coverage-final.json coverage\\coverage-final-2.json" ,
"appveyor:unit" : "yarn cover:init && 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" ,
2018-04-04 18:28:03 +08:00
"pretest" : "yarn lint" ,
"prelint" : "yarn setup" ,
2018-04-12 15:40:12 +08:00
"lint" : "yarn code-lint && yarn schema-lint && yarn type-lint" ,
2018-06-13 19:03:47 +08:00
"code-lint" : "eslint --cache setup lib bin hot buildin benchmark \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\"" ,
2018-04-12 15:40:12 +08:00
"type-lint" : "tsc --pretty" ,
2018-04-12 05:31:15 +08:00
"fix" : "yarn code-lint --fix" ,
2018-06-13 19:03:47 +08:00
"pretty" : "prettier --write \"setup/**/*.js\" \"lib/**/*.js\" \"bin/*.js\" \"hot/*.js\" \"buildin/*.js\" \"benchmark/**/*.js\" \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\" \"declarations.d.ts\"" ,
2018-05-01 22:17:02 +08:00
"schema-lint" : "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose" ,
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" ,
2018-04-12 05:31:15 +08:00
"cover" : "yarn cover:init && yarn cover:all && yarn cover:report" ,
2017-10-19 21:40:40 +08:00
"cover:init" : "rimraf coverage" ,
2018-04-12 23:35:54 +08:00
"cover:all" : "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --coverage" ,
"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" ,
2018-05-24 19:24:43 +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" : {
"lib/**/*.js" : [
"eslint --cache"
]
} ,
2018-01-24 20:17:21 +08:00
"jest" : {
2018-05-04 15:27:47 +08:00
"forceExit" : true ,
2018-01-27 23:35:04 +08:00
"setupTestFrameworkScriptFile" : "<rootDir>/test/setupTestFramework.js" ,
"testMatch" : [
"<rootDir>/test/*.test.js" ,
"<rootDir>/test/*.unittest.js"
2018-02-25 08:15:37 +08:00
] ,
"watchPathIgnorePatterns" : [
2018-04-30 21:30:39 +08:00
"<rootDir>/node_modules/webpack/node_modules/" ,
2018-02-25 08:15:37 +08:00
"<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-04-30 21:30:39 +08:00
"<rootDir>/benchmark/" ,
"<rootDir>/examples/*/dist" ,
2018-05-24 19:24:43 +08:00
"<rootDir>/coverage/" ,
"<rootDir>/.eslintcache/"
2018-04-30 21:30:39 +08:00
] ,
"modulePathIgnorePatterns" : [
"<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-04-30 21:30:39 +08:00
"<rootDir>/benchmark/" ,
"<rootDir>/examples/*/dist" ,
2018-05-24 19:24:43 +08:00
"<rootDir>/coverage/" ,
"<rootDir>/.eslintcache/"
2018-02-25 08:15:37 +08:00
] ,
"transformIgnorePatterns" : [
"<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-04-19 06:41:03 +08:00
"<rootDir>/test/" ,
"<rootDir>/schemas/"
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
}