Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit 3cbaa1f

Browse files
committed
move optional dependencies to optional peer dependencies
see yarnpkg/rfcs#105
1 parent edcb354 commit 3cbaa1f

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

package.json

+9-11
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,17 @@
1717
"node": ">=8.10.0"
1818
},
1919
"peerDependencies": {
20+
"@cookielab.io/eslint-plugin-custom-rules": "optional:^0.3.0",
21+
"@typescript-eslint/eslint-plugin": "optional:^2.7.0",
22+
"@typescript-eslint/parser": "optional:^2.7.0",
23+
"babel-eslint": "optional:^10.0.3",
2024
"eslint": "^6.5.1",
25+
"eslint-import-resolver-typescript": "optional:^2.0.0",
2126
"eslint-plugin-filenames": "^1.3.2",
22-
"eslint-plugin-import": "^2.18.2"
23-
},
24-
"optionalDependencies": {
25-
"@cookielab.io/eslint-plugin-custom-rules": "^0.3.0",
26-
"@typescript-eslint/eslint-plugin": "^2.7.0",
27-
"@typescript-eslint/parser": "^2.7.0",
28-
"babel-eslint": "^10.0.3",
29-
"eslint-import-resolver-typescript": "^2.0.0",
30-
"eslint-plugin-flowtype": "^4.4.1",
31-
"eslint-plugin-sort-imports-es6-autofix": "^0.5.0",
32-
"typescript": "^3.7.2"
27+
"eslint-plugin-flowtype": "optional:^4.4.1",
28+
"eslint-plugin-import": "^2.18.2",
29+
"eslint-plugin-sort-imports-es6-autofix": "optional:^0.5.0",
30+
"typescript": "optional:^3.7.2"
3331
},
3432
"devDependencies": {
3533
"@cookielab.io/eslint-plugin-custom-rules": "0.3.0",

0 commit comments

Comments
 (0)