|
před 2 roky | |
---|---|---|
.. | ||
lib | před 2 roky | |
CHANGELOG.md | před 2 roky | |
LICENSE | před 2 roky | |
README.md | před 2 roky | |
package.json | před 2 roky |
@lerna/log-packed
Log the result of npm pack --json
Extracted from the npm source.
const execa = require("execa");
const { logPacked } = require("@lerna/log-packed");
execa("npm", ["pack", "--json"]).then(result => {
const tarballs = JSON.parse(result.stdout);
tarballs.forEach(logPacked);
});
Install lerna for access to the lerna
CLI.