optimize-yarn-lock
A CLI to optimize yarn.lock
features
"@babel/runtime@^7.0.0", "@babel/runtime@^7.3.1": version "7.3.1" resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.3.1.tgz#574b03e8e8a9898eaf4a872a92ea20b7846f6f2a" dependencies: regenerator-runtime "^0.12.0" "@babel/runtime@^7.1.2", "@babel/runtime@^7.4.0": version "7.4.5" resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.4.5.tgz#582bb531f5f9dc67d2fcb682979894f75e253f12" dependencies: regenerator-runtime "^0.13.2" "@babel/runtime@^7.4.5": version "7.5.5" resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.5.5.tgz#74fba56d35efbeca444091c7850ccd494fd2f132" integrity sha1-dPulbTXvvspEQJHHhQzNSU/S8TI= dependencies: regenerator-runtime "^0.13.2"
becomes:
"@babel/runtime@^7.0.0", "@babel/runtime@^7.3.1", "@babel/runtime@^7.1.2", "@babel/runtime@^7.4.0", "@babel/runtime@^7.4.5": version "7.5.5" resolved "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.5.5.tgz#74fba56d35efbeca444091c7850ccd494fd2f132" integrity sha1-dPulbTXvvspEQJHHhQzNSU/S8TI= dependencies: regenerator-runtime "^0.13.2"
install
yarn global add optimize-yarn-lock
usage
run optimize-yarn-lock
options
key | description |
---|---|
-h,--help | Print this message. |
-v,--version | Print the version |
-p | yarn lock dir path |
--check | only check |
API
await optimize