Skip to content

Commit

Permalink
fix: added optional dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg committed Jan 15, 2022
1 parent 4c59946 commit 78571b2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
"description": "ESLint shareable config for the Positive Technologies JavaScript style guide.",
"author": "Positive Technologies",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/positive-js/pt-code-style",
"directory": "packages/eslint-config"
},
"engines": {
"node": ">=12"
},
Expand Down Expand Up @@ -44,6 +49,21 @@
"prettier": "^2.3.2",
"typescript": "^4.1.3"
},
"optionalDependencies": {
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"eslint-plugin-array-func": "^3.1.7",
"eslint-plugin-compat": "^3.9.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^37.0.2",
"eslint-plugin-prefer-arrow": "1.2.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-react-redux": "^3.3.2",
"eslint-plugin-rxjs": "^3.0.1"
},
"peerDependencies": {
"eslint": "^7.30.0",
"prettier": "^2.3.2"
Expand Down
6 changes: 6 additions & 0 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@
"license": "MIT",
"version": "0.0.0",
"description": "Positive Technologies prettier config.",
"repository": {
"type": "git",
"url": "https://github.com/positive-js/pt-code-style",
"directory": "packages/prettier-config"
},
"engines": {
"node": ">=12"
},
"keywords": [
"prettier",
"prettier-config",
"formatter"
],
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions packages/prettier-config/release.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const isCI = require('is-ci');

const release = require('../../tools/semantic-release/release.config.js');
const name = require('./package.json').name.split('/')[1];

Expand Down

0 comments on commit 78571b2

Please sign in to comment.