From b7e2bd726f85dac3f31eb17521fb9162e33b6d39 Mon Sep 17 00:00:00 2001 From: surmon-china Date: Sat, 11 Jul 2020 00:03:08 +0800 Subject: [PATCH] fix: less to dependencies --- README.md | 2 +- package.json | 12 ++---------- yarn.lock | 2 +- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 8ec20f4..c52100d 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ tlm src Or, install and run as a `devDependency`: ```bash -yarn add -D typed-less-modules less +yarn add -D typed-less-modules yarn tlm src ``` diff --git a/package.json b/package.json index 8bba6c9..f562a38 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@qiniu/typed-less-modules", - "version": "0.1.0", + "version": "0.1.2", "description": "TypeScript type definition generator for LESS CSS Modules", "main": "index.js", "license": "Apache", @@ -51,7 +51,6 @@ "codecov": "^3.7.0", "husky": "^1.3.1", "jest": "23.6.0", - "less": "^3.11.1", "lint-staged": "^8.1.3", "prettier": "^1.16.4", "semantic-release": "^15.13.31", @@ -59,20 +58,13 @@ "ts-node": "^8.0.2", "typescript": "^3.3.3" }, - "peerDependencies": { - "less": "^3.11.0" - }, - "peerDependenciesMeta": { - "less": { - "optional": false - } - }, "dependencies": { "camelcase": "^5.0.0", "chalk": "^3.0.0", "chokidar": "^3.3.0", "css-modules-loader-core": "^1.1.0", "glob": "^7.1.6", + "less": "^3.11.0", "param-case": "^3.0.2", "path": "^0.12.7", "reserved-words": "^0.1.2", diff --git a/yarn.lock b/yarn.lock index ab563d0..1352732 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4152,7 +4152,7 @@ left-pad@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e" -less@^3.11.1: +less@^3.11.3: version "3.11.3" resolved "https://registry.npmjs.org/less/-/less-3.11.3.tgz#2d853954fcfe0169a8af869620bcaa16563dcc1c" integrity sha512-VkZiTDdtNEzXA3LgjQiC3D7/ejleBPFVvq+aRI9mIj+Zhmif5TvFPM244bT4rzkvOCvJ9q4zAztok1M7Nygagw==