Skip to content

Commit 678bb43

Browse files
committed
update package.json with new cli with propert checks
1 parent 5e8700f commit 678bb43

2 files changed

Lines changed: 123 additions & 180 deletions

File tree

‎package.json‎

Lines changed: 119 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,121 +1,121 @@
11
{
2-
"name": "webpack",
3-
"version": "4.0.0-alpha.1",
4-
"author": "Tobias Koppers @sokra",
5-
"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.",
6-
"dependencies": {
7-
"acorn": "^5.0.0",
8-
"acorn-dynamic-import": "^2.0.0",
9-
"ajv": "^5.1.5",
10-
"ajv-keywords": "^2.0.0",
11-
"async": "^2.1.2",
12-
"enhanced-resolve": "4.0.0-beta.2",
13-
"eslint-scope": "^3.7.1",
14-
"loader-runner": "^2.3.0",
15-
"loader-utils": "^1.1.0",
16-
"memory-fs": "~0.4.1",
17-
"mkdirp": "~0.5.0",
18-
"node-libs-browser": "^2.0.0",
19-
"schema-utils": "^0.4.2",
20-
"source-map": "^0.5.3",
21-
"tapable": "^1.0.0-beta.5",
22-
"uglifyjs-webpack-plugin": "^1.1.1",
23-
"watchpack": "^1.4.0",
24-
"webpack-sources": "^1.0.1"
25-
},
26-
"license": "MIT",
27-
"devDependencies": {
28-
"beautify-lint": "^1.0.3",
29-
"benchmark": "^2.1.1",
30-
"bundle-loader": "~0.5.0",
31-
"codacy-coverage": "^2.0.1",
32-
"coffee-loader": "~0.7.1",
33-
"coffee-script": "^1.10.0",
34-
"coveralls": "^2.11.2",
35-
"css-loader": "^0.28.3",
36-
"es6-promise-polyfill": "^1.1.1",
37-
"eslint": "^4.3.0",
38-
"eslint-plugin-node": "^5.1.1",
39-
"express": "~4.13.1",
40-
"extract-text-webpack-plugin": "^3.0.0",
41-
"file-loader": "^0.11.2",
42-
"glob": "^7.1.2",
43-
"i18n-webpack-plugin": "^1.0.0",
44-
"istanbul": "^0.4.5",
45-
"jade": "^1.11.0",
46-
"jade-loader": "~0.8.0",
47-
"js-beautify": "^1.5.10",
48-
"json-loader": "^0.5.7",
49-
"less": "^2.5.1",
50-
"less-loader": "^4.0.3",
51-
"lodash": "^4.17.4",
52-
"mocha": "^3.2.0",
53-
"mocha-lcov-reporter": "^1.0.0",
54-
"nsp": "^2.6.1",
55-
"raw-loader": "~0.5.0",
56-
"react": "^15.2.1",
57-
"react-dom": "^15.2.1",
58-
"rimraf": "^2.6.2",
59-
"script-loader": "~0.7.0",
60-
"should": "^11.1.1",
61-
"simple-git": "^1.65.0",
62-
"sinon": "^2.3.2",
63-
"style-loader": "^0.18.1",
64-
"url-loader": "~0.5.0",
65-
"val-loader": "^1.0.2",
66-
"vm-browserify": "~0.0.0",
67-
"webpack-cli": "^1.5.2",
68-
"webpack-dev-middleware": "^1.9.0",
69-
"worker-loader": "^0.8.0"
70-
},
71-
"engines": {
72-
"node": ">=6.11.5"
73-
},
74-
"repository": {
75-
"type": "git",
76-
"url": "https://github.com/webpack/webpack.git"
77-
},
78-
"homepage": "https://github.com/webpack/webpack",
79-
"main": "lib/webpack.js",
80-
"web": "lib/webpack.web.js",
81-
"bin": "./bin/webpack.js",
82-
"files": [
83-
"lib/",
84-
"bin/",
85-
"buildin/",
86-
"hot/",
87-
"web_modules/",
88-
"schemas/"
89-
],
90-
"scripts": {
91-
"test": "mocha test/*.test.js test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks",
92-
"test:integration": "mocha test/*.test.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks",
93-
"test:unit": "mocha test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks",
94-
"travis:integration": "npm run cover:init && npm run cover:integration && npm run cover:report-min",
95-
"travis:unit": "npm run cover:init && npm run cover:unit && npm run cover:report-min",
96-
"travis:lint": "npm run lint-files && npm run nsp",
97-
"travis:benchmark": "npm run benchmark",
98-
"appveyor:integration": "npm run cover:init && npm run cover:integration && npm run cover:report-min",
99-
"appveyor:unit": "npm run cover:init && npm run cover:unit && npm run cover:report-min",
100-
"appveyor:benchmark": "npm run benchmark",
101-
"circleci:test": "node node_modules/mocha/bin/mocha --max-old-space-size=4096 --harmony --trace-deprecation test/*.test.js test/*.unittest.js",
102-
"circleci:lint": "npm run lint-files && npm run nsp",
103-
"build:examples": "cd examples && node buildAll.js",
104-
"pretest": "npm run lint-files",
105-
"lint-files": "npm run lint && npm run beautify-lint && npm run schema-lint",
106-
"lint": "eslint lib bin hot buildin \"test/*.js\" \"test/**/webpack.config.js\" \"test/binCases/**/test.js\" \"examples/**/webpack.config.js\"",
107-
"fix": "npm run lint -- --fix",
108-
"beautify-lint": "beautify-lint \"lib/**/*.js\" \"hot/**/*.js\" \"bin/**/*.js\" \"benchmark/*.js\" \"test/*.js\"",
109-
"schema-lint": "mocha test/*.lint.js --opts test/lint-mocha.opts",
110-
"nsp": "nsp check --output summary",
111-
"benchmark": "mocha --max-old-space-size=4096 --harmony --trace-deprecation test/*.benchmark.js -R spec",
112-
"cover": "npm run cover:init && npm run cover:all && npm run cover:report",
113-
"cover:init": "rimraf coverage",
114-
"cover:all": "node --max-old-space-size=4096 --harmony --trace-deprecation ./node_modules/istanbul/lib/cli.js cover --report none node_modules/mocha/bin/_mocha -- test/*.test.js test/*.unittest.js",
115-
"cover:integration": "node --max-old-space-size=4096 --harmony --trace-deprecation ./node_modules/istanbul/lib/cli.js cover --report none node_modules/mocha/bin/_mocha -- test/*.test.js",
116-
"cover:unit": "node --max-old-space-size=4096 --harmony --trace-deprecation ./node_modules/istanbul/lib/cli.js cover --report none node_modules/mocha/bin/_mocha -- test/*.unittest.js",
117-
"cover:report": "istanbul report",
118-
"cover:report-min": "istanbul report --report lcovonly",
119-
"publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish"
120-
}
2+
"name": "webpack",
3+
"version": "4.0.0-alpha.1",
4+
"author": "Tobias Koppers @sokra",
5+
"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.",
6+
"dependencies": {
7+
"acorn": "^5.0.0",
8+
"acorn-dynamic-import": "^2.0.0",
9+
"ajv": "^5.1.5",
10+
"ajv-keywords": "^2.0.0",
11+
"async": "^2.1.2",
12+
"enhanced-resolve": "4.0.0-beta.2",
13+
"eslint-scope": "^3.7.1",
14+
"loader-runner": "^2.3.0",
15+
"loader-utils": "^1.1.0",
16+
"memory-fs": "~0.4.1",
17+
"mkdirp": "~0.5.0",
18+
"node-libs-browser": "^2.0.0",
19+
"schema-utils": "^0.4.2",
20+
"source-map": "^0.5.3",
21+
"tapable": "^1.0.0-beta.5",
22+
"uglifyjs-webpack-plugin": "^1.1.1",
23+
"watchpack": "^1.4.0",
24+
"webpack-sources": "^1.0.1"
25+
},
26+
"license": "MIT",
27+
"devDependencies": {
28+
"beautify-lint": "^1.0.3",
29+
"benchmark": "^2.1.1",
30+
"bundle-loader": "~0.5.0",
31+
"codacy-coverage": "^2.0.1",
32+
"coffee-loader": "~0.7.1",
33+
"coffee-script": "^1.10.0",
34+
"coveralls": "^2.11.2",
35+
"css-loader": "^0.28.3",
36+
"es6-promise-polyfill": "^1.1.1",
37+
"eslint": "^4.3.0",
38+
"eslint-plugin-node": "^5.1.1",
39+
"express": "~4.13.1",
40+
"extract-text-webpack-plugin": "^3.0.0",
41+
"file-loader": "^0.11.2",
42+
"glob": "^7.1.2",
43+
"i18n-webpack-plugin": "^1.0.0",
44+
"istanbul": "^0.4.5",
45+
"jade": "^1.11.0",
46+
"jade-loader": "~0.8.0",
47+
"js-beautify": "^1.5.10",
48+
"json-loader": "^0.5.7",
49+
"less": "^2.5.1",
50+
"less-loader": "^4.0.3",
51+
"lodash": "^4.17.4",
52+
"mocha": "^3.2.0",
53+
"mocha-lcov-reporter": "^1.0.0",
54+
"nsp": "^2.6.1",
55+
"raw-loader": "~0.5.0",
56+
"react": "^15.2.1",
57+
"react-dom": "^15.2.1",
58+
"rimraf": "^2.6.2",
59+
"script-loader": "~0.7.0",
60+
"should": "^11.1.1",
61+
"simple-git": "^1.65.0",
62+
"sinon": "^2.3.2",
63+
"style-loader": "^0.18.1",
64+
"url-loader": "~0.5.0",
65+
"val-loader": "^1.0.2",
66+
"vm-browserify": "~0.0.0",
67+
"webpack-cli": "^1.5.2",
68+
"webpack-dev-middleware": "^1.9.0",
69+
"worker-loader": "^0.8.0"
70+
},
71+
"engines": {
72+
"node": ">=6.11.5"
73+
},
74+
"repository": {
75+
"type": "git",
76+
"url": "https://github.com/webpack/webpack.git"
77+
},
78+
"homepage": "https://github.com/webpack/webpack",
79+
"main": "lib/webpack.js",
80+
"web": "lib/webpack.web.js",
81+
"bin": "./bin/webpack.js",
82+
"files": [
83+
"lib/",
84+
"bin/",
85+
"buildin/",
86+
"hot/",
87+
"web_modules/",
88+
"schemas/"
89+
],
90+
"scripts": {
91+
"test": "mocha test/*.test.js test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks",
92+
"test:integration": "mocha test/*.test.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks",
93+
"test:unit": "mocha test/*.unittest.js --max-old-space-size=4096 --harmony --trace-deprecation --check-leaks",
94+
"travis:integration": "npm run cover:init && npm run cover:integration && npm run cover:report-min",
95+
"travis:unit": "npm run cover:init && npm run cover:unit && npm run cover:report-min",
96+
"travis:lint": "npm run lint-files && npm run nsp",
97+
"travis:benchmark": "npm run benchmark",
98+
"appveyor:integration": "npm run cover:init && npm run cover:integration && npm run cover:report-min",
99+
"appveyor:unit": "npm run cover:init && npm run cover:unit && npm run cover:report-min",
100+
"appveyor:benchmark": "npm run benchmark",
101+
"circleci:test": "node node_modules/mocha/bin/mocha --max-old-space-size=4096 --harmony --trace-deprecation test/*.test.js test/*.unittest.js",
102+
"circleci:lint": "npm run lint-files && npm run nsp",
103+
"build:examples": "cd examples && node buildAll.js",
104+
"pretest": "npm run lint-files",
105+
"lint-files": "npm run lint && npm run beautify-lint && npm run schema-lint",
106+
"lint": "eslint lib bin hot buildin \"test/*.js\" \"test/**/webpack.config.js\" \"test/binCases/**/test.js\" \"examples/**/webpack.config.js\"",
107+
"fix": "npm run lint -- --fix",
108+
"beautify-lint": "beautify-lint \"lib/**/*.js\" \"hot/**/*.js\" \"bin/**/*.js\" \"benchmark/*.js\" \"test/*.js\"",
109+
"schema-lint": "mocha test/*.lint.js --opts test/lint-mocha.opts",
110+
"nsp": "nsp check --output summary",
111+
"benchmark": "mocha --max-old-space-size=4096 --harmony --trace-deprecation test/*.benchmark.js -R spec",
112+
"cover": "npm run cover:init && npm run cover:all && npm run cover:report",
113+
"cover:init": "rimraf coverage",
114+
"cover:all": "node --max-old-space-size=4096 --harmony --trace-deprecation ./node_modules/istanbul/lib/cli.js cover --report none node_modules/mocha/bin/_mocha -- test/*.test.js test/*.unittest.js",
115+
"cover:integration": "node --max-old-space-size=4096 --harmony --trace-deprecation ./node_modules/istanbul/lib/cli.js cover --report none node_modules/mocha/bin/_mocha -- test/*.test.js",
116+
"cover:unit": "node --max-old-space-size=4096 --harmony --trace-deprecation ./node_modules/istanbul/lib/cli.js cover --report none node_modules/mocha/bin/_mocha -- test/*.unittest.js",
117+
"cover:report": "istanbul report",
118+
"cover:report-min": "istanbul report --report lcovonly",
119+
"publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish"
120+
}
121121
}

‎yarn.lock‎

Lines changed: 4 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -5353,7 +5353,7 @@ supports-color@^3.1.0, supports-color@^3.2.3:
53535353
dependencies:
53545354
has-flag "^1.0.0"
53555355

5356-
supports-color@^4.0.0, supports-color@^4.2.1, supports-color@^4.4.0:
5356+
supports-color@^4.0.0, supports-color@^4.4.0:
53575357
version "4.5.0"
53585358
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b"
53595359
dependencies:
@@ -5386,10 +5386,6 @@ table@^4.0.1:
53865386
slice-ansi "1.0.0"
53875387
string-width "^2.1.1"
53885388

5389-
tapable@1.0.0-beta.3:
5390-
version "1.0.0-beta.3"
5391-
resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.0.0-beta.3.tgz#1f56bb6fec924ac9570cd8f6ff788e5bcf4808f1"
5392-
53935389
tapable@^0.2.7:
53945390
version "0.2.8"
53955391
resolved "https://registry.yarnpkg.com/tapable/-/tapable-0.2.8.tgz#99372a5c999bf2df160afc0d74bed4f47948cd22"
@@ -5565,7 +5561,7 @@ uglify-es@^3.2.0:
55655561
commander "~2.12.1"
55665562
source-map "~0.6.1"
55675563

5568-
uglify-js@^2.4.19, uglify-js@^2.6, uglify-js@^2.8.29:
5564+
uglify-js@^2.4.19, uglify-js@^2.6:
55695565
version "2.8.29"
55705566
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd"
55715567
dependencies:
@@ -5585,14 +5581,6 @@ uglify-to-browserify@~1.0.0:
55855581
version "1.0.2"
55865582
resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7"
55875583

5588-
uglifyjs-webpack-plugin@^0.4.6:
5589-
version "0.4.6"
5590-
resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz#b951f4abb6bd617e66f63eb891498e391763e309"
5591-
dependencies:
5592-
source-map "^0.5.6"
5593-
uglify-js "^2.8.29"
5594-
webpack-sources "^1.0.1"
5595-
55965584
uglifyjs-webpack-plugin@^1.1.1:
55975585
version "1.1.2"
55985586
resolved "https://registry.yarnpkg.com/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.1.2.tgz#8a9abc238d01a33daaf86fa9a84c7ebc1e67b0f9"
@@ -5782,8 +5770,8 @@ webpack-addons@^1.1.4:
57825770
jscodeshift "^0.4.0"
57835771

57845772
webpack-cli@^1.5.2:
5785-
version "1.5.2"
5786-
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-1.5.2.tgz#37de75cfaa3be40043bfd73117b4b13143a92d54"
5773+
version "1.5.3"
5774+
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-1.5.3.tgz#e49883b40249571ff79415196b3d76cab1f7272f"
57875775
dependencies:
57885776
babel-code-frame "^6.22.0"
57895777
babel-core "^6.25.0"
@@ -5809,7 +5797,6 @@ webpack-cli@^1.5.2:
58095797
resolve-cwd "^2.0.0"
58105798
rx "^4.1.0"
58115799
supports-color "^4.4.0"
5812-
webpack "^4.0.0-alpha.0"
58135800
webpack-addons "^1.1.4"
58145801
yargs "^9.0.1"
58155802
yeoman-environment "^2.0.0"
@@ -5832,32 +5819,6 @@ webpack-sources@^1.0.1:
58325819
source-list-map "^2.0.0"
58335820
source-map "~0.6.1"
58345821

5835-
webpack@^4.0.0-alpha.0:
5836-
version "4.0.0-alpha.0"
5837-
resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.0.0-alpha.0.tgz#97949f332b9189182d22c6b302ee3dbe03faf96c"
5838-
dependencies:
5839-
acorn "^5.0.0"
5840-
acorn-dynamic-import "^2.0.0"
5841-
ajv "^5.1.5"
5842-
ajv-keywords "^2.0.0"
5843-
async "^2.1.2"
5844-
enhanced-resolve "4.0.0-beta.2"
5845-
eslint-scope "^3.7.1"
5846-
interpret "^1.0.0"
5847-
loader-runner "^2.3.0"
5848-
loader-utils "^1.1.0"
5849-
memory-fs "~0.4.1"
5850-
mkdirp "~0.5.0"
5851-
node-libs-browser "^2.0.0"
5852-
schema-utils "^0.4.2"
5853-
source-map "^0.5.3"
5854-
supports-color "^4.2.1"
5855-
tapable "1.0.0-beta.3"
5856-
uglifyjs-webpack-plugin "^0.4.6"
5857-
watchpack "^1.4.0"
5858-
webpack-sources "^1.0.1"
5859-
yargs "^8.0.2"
5860-
58615822
whatwg-fetch@>=0.10.0:
58625823
version "2.0.3"
58635824
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz#9c84ec2dcf68187ff00bc64e1274b442176e1c84"
@@ -5965,24 +5926,6 @@ yargs-parser@^7.0.0:
59655926
dependencies:
59665927
camelcase "^4.1.0"
59675928

5968-
yargs@^8.0.2:
5969-
version "8.0.2"
5970-
resolved "https://registry.yarnpkg.com/yargs/-/yargs-8.0.2.tgz#6299a9055b1cefc969ff7e79c1d918dceb22c360"
5971-
dependencies:
5972-
camelcase "^4.1.0"
5973-
cliui "^3.2.0"
5974-
decamelize "^1.1.1"
5975-
get-caller-file "^1.0.1"
5976-
os-locale "^2.0.0"
5977-
read-pkg-up "^2.0.0"
5978-
require-directory "^2.1.1"
5979-
require-main-filename "^1.0.1"
5980-
set-blocking "^2.0.0"
5981-
string-width "^2.0.0"
5982-
which-module "^2.0.0"
5983-
y18n "^3.2.1"
5984-
yargs-parser "^7.0.0"
5985-
59865929
yargs@^9.0.1:
59875930
version "9.0.1"
59885931
resolved "https://registry.yarnpkg.com/yargs/-/yargs-9.0.1.tgz#52acc23feecac34042078ee78c0c007f5085db4c"

0 commit comments

Comments
 (0)