From ae71a3f47b9a470a755204000c59a49344f59d22 Mon Sep 17 00:00:00 2001 From: Minh Cung Date: Tue, 27 Sep 2022 13:39:01 +1000 Subject: [PATCH] Move formatjs libraries to peer deps (#57) * . * 1.4.0 --- package.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index c8aafbc..74bbad2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cungminh2710/pseudolocalize", - "version": "1.3.5", + "version": "1.4.0", "description": "Several implementation of pseudolocalizing ICU strings", "sideEffects": false, "main": "dist/index.js", @@ -29,11 +29,14 @@ "test": "jest --config jestconfig.json" }, "devDependencies": { + "@formatjs/icu-messageformat-parser": "2.1.7", "@trivago/prettier-plugin-sort-imports": "3.3.0", "@types/jest": "29.0.3", + "intl-messageformat": "10.1.4", "jest": "29.0.3", "prettier": "2.7.1", "react": "18.2.0", + "react-intl": "6.1.1", "ts-jest": "29.0.2", "tslint": "6.1.3", "tslint-config-prettier": "1.18.0", @@ -41,13 +44,13 @@ "typescript": "4.8.3" }, "dependencies": { - "@formatjs/icu-messageformat-parser": "2.1.7", - "intl-messageformat": "10.1.4", - "react-intl": "6.1.1" }, "peerDependencies": { "react": "^16.6.0 || 17 || 18", - "typescript": "^4.5" + "typescript": "^4.5", + "intl-messageformat": "^10.1.4", + "@formatjs/icu-messageformat-parser": "^2.1.7", + "react-intl": "^6.1.1" }, "peerDependenciesMeta": { "typescript": {