From bac5be780585da5596c06a46edfb881417279c17 Mon Sep 17 00:00:00 2001 From: azu Date: Mon, 27 Dec 2021 18:24:47 +0900 Subject: [PATCH] fix: move textlint type packages to peerDependencies --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2b58d0b..cb6f6c3 100644 --- a/package.json +++ b/package.json @@ -25,12 +25,12 @@ "watch": "tsc -p . --watch" }, "dependencies": { - "@textlint/ast-node-types": "^12.1.0", - "@textlint/types": "^12.1.0", "structured-source": "^3.0.2", "unist-util-visit": "^2.0.3" }, "devDependencies": { + "@textlint/types": "^12.1.0", + "@textlint/ast-node-types": "^12.1.0", "@types/mocha": "^9.0.0", "@types/node": "^17.0.5", "@types/structured-source": "^3.0.0", @@ -41,5 +41,9 @@ "ts-node-test-register": "^10.0.0", "txt-ast-traverse": "^2.0.4", "typescript": "^4.5.4" + }, + "peerDependencies": { + "@textlint/types": "^12.1.0", + "@textlint/ast-node-types": "^12.1.0" } }