Skip to content

Commit

Permalink
Move devDependencies to root package.json file (#12720)
Browse files Browse the repository at this point in the history
* Chore: Remove unused npm dependencies from the root package.json file

* Move devDependencies to root package.json file
  • Loading branch information
gziolo authored and youknowriad committed Jan 9, 2019
1 parent 120f80d commit 5f746f3
Show file tree
Hide file tree
Showing 28 changed files with 63 additions and 118 deletions.
60 changes: 45 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 15 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,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",
Expand All @@ -65,41 +67,49 @@
"@wordpress/npm-package-json-lint-config": "file:packages/npm-package-json-lint-config",
"@wordpress/postcss-themes": "file:packages/postcss-themes",
"@wordpress/scripts": "file:packages/scripts",
"autoprefixer": "8.2.0",
"babel-loader": "8.0.0",
"benchmark": "2.1.4",
"browserslist": "3.2.8",
"chalk": "2.4.1",
"concurrently": "3.5.0",
"copy-webpack-plugin": "4.5.2",
"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",
"mkdirp": "0.5.1",
"node-sass": "4.11.0",
"path-type": "3.0.0",
"pegjs": "0.10.0",
"phpegjs": "1.0.0-beta7",
"postcss-color-function": "4.0.1",
"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",
"source-map-loader": "0.2.3",
"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",
"symlink-or-copy": "1.2.0",
"uuid": "3.3.2",
"webpack": "4.8.3",
"webpack-bundle-analyzer": "3.0.2",
Expand Down
4 changes: 0 additions & 4 deletions packages/babel-plugin-import-jsx-pragma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
4 changes: 0 additions & 4 deletions packages/babel-plugin-makepot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
5 changes: 0 additions & 5 deletions packages/block-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/block-serialization-default-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
"dependencies": {
"@babel/runtime": "^7.0.0"
},
"devDependencies": {
"@wordpress/block-serialization-spec-parser": "file:../block-serialization-spec-parser"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/block-serialization-spec-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
"bugs": {
"url": "https://github.com/WordPress/gutenberg/issues"
},
"devDependencies": {
"pegjs": "0.10.0"
},
"publishConfig": {
"access": "public"
},
Expand Down
3 changes: 0 additions & 3 deletions packages/blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
"tinycolor2": "^1.4.1",
"uuid": "^3.3.2"
},
"devDependencies": {
"deep-freeze": "^0.0.1"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/browserslist-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
"node": ">=8"
},
"main": "index.js",
"devDependencies": {
"browserslist": "^3.1.0"
},
"publishConfig": {
"access": "public"
}
Expand Down
5 changes: 0 additions & 5 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
5 changes: 0 additions & 5 deletions packages/compose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/core-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
"lodash": "^4.17.10",
"rememo": "^3.0.0"
},
"devDependencies": {
"deep-freeze": "^0.0.1"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/custom-templated-path-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
5 changes: 0 additions & 5 deletions packages/data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
4 changes: 0 additions & 4 deletions packages/edit-post/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
6 changes: 0 additions & 6 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
"react": "^16.6.3",
"react-dom": "^16.6.3"
},
"devDependencies": {
"enzyme": "^3.7.0"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
"dependencies": {
"@babel/runtime": "^7.0.0"
},
"devDependencies": {
"benchmark": "^2.1.4"
},
"publishConfig": {
"access": "public"
}
Expand Down
3 changes: 0 additions & 3 deletions packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
"sprintf-js": "^1.1.1",
"tannin": "^1.0.1"
},
"devDependencies": {
"benchmark": "^2.1.4"
},
"publishConfig": {
"access": "public"
}
Expand Down
Loading

0 comments on commit 5f746f3

Please sign in to comment.