diff --git a/package-lock.json b/package-lock.json index 7e6a6d37e14dd5..895b659c181481 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4504,6 +4504,16 @@ "tweetnacl": "^0.14.3" } }, + "benchmark": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/benchmark/-/benchmark-2.1.4.tgz", + "integrity": "sha1-CfPeMckWQl1JjMLuVloOvzwqVik=", + "dev": true, + "requires": { + "lodash": "^4.17.4", + "platform": "^1.3.3" + } + }, "bfj": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/bfj/-/bfj-6.1.1.tgz", @@ -6823,6 +6833,12 @@ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "dev": true }, + "deep-freeze": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/deep-freeze/-/deep-freeze-0.0.1.tgz", + "integrity": "sha1-OgsABd4YZygZ39OM0x+RF5yJPoQ=", + "dev": true + }, "deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", @@ -15090,7 +15106,7 @@ }, "camelcase-keys": { "version": "2.1.0", - "resolved": "http://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", "dev": true, "requires": { @@ -15100,7 +15116,7 @@ }, "chalk": { "version": "1.1.3", - "resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "requires": { @@ -15166,7 +15182,7 @@ }, "meow": { "version": "3.7.0", - "resolved": "http://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", "dev": true, "requires": { @@ -15199,7 +15215,7 @@ }, "minimist": { "version": "1.2.0", - "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, @@ -15249,7 +15265,7 @@ }, "strip-ansi": { "version": "3.0.1", - "resolved": "http://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { @@ -16366,6 +16382,12 @@ "find-up": "^2.1.0" } }, + "platform": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/platform/-/platform-1.3.5.tgz", + "integrity": "sha512-TuvHS8AOIZNAlE77WUDiR4rySV/VMptyMfcfeoMgs4P8apaZM3JrnbzBiixKUv+XR6i+BXrQh8WAnjaSPFO65Q==", + "dev": true + }, "please-upgrade-node": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz", @@ -19275,6 +19297,24 @@ } } }, + "shallow-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shallow-equal/-/shallow-equal-1.0.0.tgz", + "integrity": "sha1-UI0YOLPeWQq4dXsBGyXkMJAJRfc=", + "dev": true + }, + "shallow-equals": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shallow-equals/-/shallow-equals-1.0.0.tgz", + "integrity": "sha1-JLdL8cY0wR7Uxxgqbfb7MA3OQ5A=", + "dev": true + }, + "shallowequal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", + "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", + "dev": true + }, "shebang-command": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", diff --git a/package.json b/package.json index a9db137a52b960..cc3aa9ef139688 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,9 @@ }, "devDependencies": { "@babel/core": "7.0.0", + "@babel/plugin-syntax-jsx": "7.0.0", "@babel/runtime-corejs2": "7.0.0", + "@babel/traverse": "7.0.0", "@wordpress/babel-plugin-import-jsx-pragma": "file:packages/babel-plugin-import-jsx-pragma", "@wordpress/babel-plugin-makepot": "file:packages/babel-plugin-makepot", "@wordpress/babel-preset-default": "file:packages/babel-preset-default", @@ -70,6 +72,8 @@ "@wordpress/postcss-themes": "file:packages/postcss-themes", "@wordpress/scripts": "file:packages/scripts", "babel-loader": "8.0.0", + "benchmark": "2.1.4", + "browserslist": "3.2.8", "chalk": "2.4.1", "check-node-version": "3.1.1", "concurrently": "3.5.0", @@ -77,13 +81,19 @@ "core-js": "2.5.7", "cross-env": "3.2.4", "cssnano": "4.0.3", + "enzyme": "3.7.0", "deasync": "0.1.13", + "deep-freeze": "0.0.1", "doctrine": "2.1.0", "eslint-plugin-jest": "21.5.0", "espree": "3.5.4", + "fbjs": "0.8.17", "glob": "7.1.2", "husky": "0.14.3", + "is-plain-obj": "1.1.0", + "is-equal-shallow": "0.1.3", "jest-puppeteer": "3.2.1", + "jsdom": "11.12.0", "lerna": "3.4.3", "lint-staged": "7.2.0", "lodash": "4.17.10", @@ -92,9 +102,16 @@ "pegjs": "0.10.0", "phpegjs": "1.0.0-beta7", "puppeteer": "1.6.1", + "react-dom": "16.6.3", + "react-test-renderer": "16.6.3", + "redux": "4.0.0", "rimraf": "2.6.2", "rtlcss": "2.4.0", "sass-loader": "6.0.7", + "shallow-equal": "1.0.0", + "shallow-equals": "1.0.0", + "shallowequal": "1.1.0", + "sprintf-js": "1.1.1", "source-map-loader": "0.2.3", "stylelint": "9.5.0", "stylelint-config-wordpress": "13.1.0", diff --git a/packages/babel-plugin-import-jsx-pragma/package.json b/packages/babel-plugin-import-jsx-pragma/package.json index 5cd00bf163f86f..1c2bb7de9bb959 100644 --- a/packages/babel-plugin-import-jsx-pragma/package.json +++ b/packages/babel-plugin-import-jsx-pragma/package.json @@ -28,10 +28,6 @@ "dependencies": { "@babel/runtime": "^7.0.0" }, - "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/plugin-syntax-jsx": "^7.0.0" - }, "peerDependencies": { "@babel/core": "^7.0.0" }, diff --git a/packages/babel-plugin-makepot/package.json b/packages/babel-plugin-makepot/package.json index e21a023be7d3d3..819415f3b97320 100644 --- a/packages/babel-plugin-makepot/package.json +++ b/packages/babel-plugin-makepot/package.json @@ -29,10 +29,6 @@ "gettext-parser": "^1.3.1", "lodash": "^4.17.10" }, - "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/traverse": "^7.0.0" - }, "peerDependencies": { "@babel/core": "^7.0.0" }, diff --git a/packages/block-library/package.json b/packages/block-library/package.json index ad9c4514349cc4..5d3e510bbfe93c 100644 --- a/packages/block-library/package.json +++ b/packages/block-library/package.json @@ -40,11 +40,6 @@ "memize": "^1.0.5", "url": "^0.11.0" }, - "devDependencies": { - "deep-freeze": "^0.0.1", - "enzyme": "^3.7.0", - "react-test-renderer": "^16.6.3" - }, "publishConfig": { "access": "public" } diff --git a/packages/block-serialization-default-parser/package.json b/packages/block-serialization-default-parser/package.json index 1a235b320cd06e..8cf5725dfd2d2d 100644 --- a/packages/block-serialization-default-parser/package.json +++ b/packages/block-serialization-default-parser/package.json @@ -23,9 +23,6 @@ "dependencies": { "@babel/runtime": "^7.0.0" }, - "devDependencies": { - "@wordpress/block-serialization-spec-parser": "file:../block-serialization-spec-parser" - }, "publishConfig": { "access": "public" } diff --git a/packages/block-serialization-spec-parser/package.json b/packages/block-serialization-spec-parser/package.json index 251a28045fb958..7739f0bf041774 100644 --- a/packages/block-serialization-spec-parser/package.json +++ b/packages/block-serialization-spec-parser/package.json @@ -18,9 +18,6 @@ "bugs": { "url": "https://github.com/WordPress/gutenberg/issues" }, - "devDependencies": { - "pegjs": "0.10.0" - }, "publishConfig": { "access": "public" }, diff --git a/packages/blocks/package.json b/packages/blocks/package.json index 783143fec7f1ec..af7151b58d8065 100644 --- a/packages/blocks/package.json +++ b/packages/blocks/package.json @@ -41,10 +41,6 @@ "tinycolor2": "^1.4.1", "uuid": "^3.3.2" }, - "devDependencies": { - "deep-freeze": "^0.0.1", - "sprintf-js": "^1.1.1" - }, "publishConfig": { "access": "public" } diff --git a/packages/browserslist-config/package.json b/packages/browserslist-config/package.json index a554d875997e83..928f2c2dffb236 100644 --- a/packages/browserslist-config/package.json +++ b/packages/browserslist-config/package.json @@ -21,9 +21,6 @@ "node": ">=8" }, "main": "index.js", - "devDependencies": { - "browserslist": "^3.1.0" - }, "publishConfig": { "access": "public" } diff --git a/packages/components/package.json b/packages/components/package.json index 6657f37b182b61..9ad1244df0dffa 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -47,11 +47,6 @@ "tinycolor2": "^1.4.1", "uuid": "^3.3.2" }, - "devDependencies": { - "@wordpress/token-list": "file:../token-list", - "enzyme": "^3.7.0", - "react-test-renderer": "^16.6.3" - }, "publishConfig": { "access": "public" } diff --git a/packages/compose/package.json b/packages/compose/package.json index dc7a4ea89316ee..ace35bcce8ba3e 100644 --- a/packages/compose/package.json +++ b/packages/compose/package.json @@ -26,11 +26,6 @@ "@wordpress/is-shallow-equal": "file:../is-shallow-equal", "lodash": "^4.17.10" }, - "devDependencies": { - "enzyme": "^3.7.0", - "react-dom": "^16.6.3", - "react-test-renderer": "^16.6.3" - }, "publishConfig": { "access": "public" } diff --git a/packages/core-data/package.json b/packages/core-data/package.json index ad9917d785bad3..44310994619003 100644 --- a/packages/core-data/package.json +++ b/packages/core-data/package.json @@ -29,9 +29,6 @@ "lodash": "^4.17.10", "rememo": "^3.0.0" }, - "devDependencies": { - "deep-freeze": "^0.0.1" - }, "publishConfig": { "access": "public" } diff --git a/packages/custom-templated-path-webpack-plugin/package.json b/packages/custom-templated-path-webpack-plugin/package.json index 8cf29e724b1874..f1d922ffd59498 100644 --- a/packages/custom-templated-path-webpack-plugin/package.json +++ b/packages/custom-templated-path-webpack-plugin/package.json @@ -27,9 +27,6 @@ "@babel/runtime": "^7.0.0", "escape-string-regexp": "^1.0.5" }, - "devDependencies": { - "webpack": "^4.8.3" - }, "peerDependencies": { "webpack": "^4.0.0" }, diff --git a/packages/data/package.json b/packages/data/package.json index 493c9af3bd7be5..a547a316872d2c 100644 --- a/packages/data/package.json +++ b/packages/data/package.json @@ -32,11 +32,6 @@ "redux": "^4.0.0", "turbo-combine-reducers": "^1.0.2" }, - "devDependencies": { - "deep-freeze": "^0.0.1", - "enzyme": "^3.7.0", - "react-test-renderer": "^16.6.3" - }, "publishConfig": { "access": "public" } diff --git a/packages/edit-post/package.json b/packages/edit-post/package.json index 6c98e2826302c5..d8d3f4802aa391 100644 --- a/packages/edit-post/package.json +++ b/packages/edit-post/package.json @@ -42,10 +42,6 @@ "lodash": "^4.17.10", "refx": "^3.0.0" }, - "devDependencies": { - "deep-freeze": "^0.0.1", - "enzyme": "^3.7.0" - }, "publishConfig": { "access": "public" } diff --git a/packages/editor/package.json b/packages/editor/package.json index dfe9ac51ed3fdf..2f2676ee36853a 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -59,12 +59,6 @@ "tinymce": "^4.7.2", "traverse": "^0.6.6" }, - "devDependencies": { - "deep-freeze": "^0.0.1", - "enzyme": "^3.7.0", - "react-dom": "^16.6.3", - "react-test-renderer": "^16.6.3" - }, "publishConfig": { "access": "public" } diff --git a/packages/element/package.json b/packages/element/package.json index 5e80ae9220c0d7..19707938c6a674 100644 --- a/packages/element/package.json +++ b/packages/element/package.json @@ -27,9 +27,6 @@ "react": "^16.6.3", "react-dom": "^16.6.3" }, - "devDependencies": { - "enzyme": "^3.7.0" - }, "publishConfig": { "access": "public" } diff --git a/packages/hooks/package.json b/packages/hooks/package.json index 8f1eb12b94ab1f..cef3b444b83d74 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -22,9 +22,6 @@ "dependencies": { "@babel/runtime": "^7.0.0" }, - "devDependencies": { - "benchmark": "^2.1.4" - }, "publishConfig": { "access": "public" } diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 18158a6f0162e2..a1005eac73e6e7 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -30,9 +30,6 @@ "sprintf-js": "^1.1.1", "tannin": "^1.0.1" }, - "devDependencies": { - "benchmark": "^2.1.4" - }, "publishConfig": { "access": "public" } diff --git a/packages/is-shallow-equal/package.json b/packages/is-shallow-equal/package.json index 290b2810f45519..f5553ceb41a47e 100644 --- a/packages/is-shallow-equal/package.json +++ b/packages/is-shallow-equal/package.json @@ -26,14 +26,6 @@ "dependencies": { "@babel/runtime": "^7.0.0" }, - "devDependencies": { - "benchmark": "^2.1.4", - "fbjs": "^0.8.16", - "is-equal-shallow": "^0.1.3", - "shallow-equal": "^1.0.0", - "shallow-equals": "^1.0.0", - "shallowequal": "^1.0.2" - }, "publishConfig": { "access": "public" } diff --git a/packages/library-export-default-webpack-plugin/package.json b/packages/library-export-default-webpack-plugin/package.json index 00b91c6dbeb442..52d28f6e9e1847 100644 --- a/packages/library-export-default-webpack-plugin/package.json +++ b/packages/library-export-default-webpack-plugin/package.json @@ -27,10 +27,6 @@ "lodash": "^4.17.10", "webpack-sources": "^1.1.0" }, - "devDependencies": { - "rimraf": "^2.6.2", - "webpack": "^4.8.3" - }, "peerDependencies": { "webpack": "^4.0.0" }, diff --git a/packages/notices/package.json b/packages/notices/package.json index f7ae5027587cdb..5e642a6d7f273a 100644 --- a/packages/notices/package.json +++ b/packages/notices/package.json @@ -24,9 +24,6 @@ "@wordpress/data": "file:../data", "lodash": "^4.17.10" }, - "devDependencies": { - "deep-freeze": "^0.0.1" - }, "publishConfig": { "access": "public" } diff --git a/packages/npm-package-json-lint-config/package.json b/packages/npm-package-json-lint-config/package.json index e7912c2c2f2cd1..ddf65a0f15c8c1 100644 --- a/packages/npm-package-json-lint-config/package.json +++ b/packages/npm-package-json-lint-config/package.json @@ -18,9 +18,6 @@ "url": "https://github.com/WordPress/gutenberg/issues" }, "main": "index.js", - "devDependencies": { - "is-plain-obj": "^1.1.0" - }, "peerDependencies": { "npm-package-json-lint": ">= 3.3.1" }, diff --git a/packages/nux/package.json b/packages/nux/package.json index d754dc9f891f5a..28dd725e40fae7 100644 --- a/packages/nux/package.json +++ b/packages/nux/package.json @@ -29,9 +29,6 @@ "lodash": "^4.17.10", "rememo": "^3.0.0" }, - "devDependencies": { - "enzyme": "^3.7.0" - }, "publishConfig": { "access": "public" } diff --git a/packages/redux-routine/package.json b/packages/redux-routine/package.json index 5eef2653d07824..bd28bcde065c75 100644 --- a/packages/redux-routine/package.json +++ b/packages/redux-routine/package.json @@ -26,9 +26,6 @@ "is-promise": "^2.1.0", "rungen": "^0.3.2" }, - "devDependencies": { - "redux": "^4.0.0" - }, "publishConfig": { "access": "public" } diff --git a/packages/rich-text/package.json b/packages/rich-text/package.json index aeb67dbfa3506a..4ae221a90812f3 100644 --- a/packages/rich-text/package.json +++ b/packages/rich-text/package.json @@ -27,10 +27,6 @@ "lodash": "^4.17.10", "rememo": "^3.0.0" }, - "devDependencies": { - "deep-freeze": "^0.0.1", - "jsdom": "^11.12.0" - }, "publishConfig": { "access": "public" } diff --git a/packages/viewport/package.json b/packages/viewport/package.json index 11da1c485c9d70..527fca472cd3dc 100644 --- a/packages/viewport/package.json +++ b/packages/viewport/package.json @@ -26,10 +26,6 @@ "@wordpress/element": "file:../element", "lodash": "^4.17.10" }, - "devDependencies": { - "deep-freeze": "^0.0.1", - "react-test-renderer": "^16.6.3" - }, "publishConfig": { "access": "public" }