|
2 rokov pred | |
---|---|---|
.. | ||
lib | 2 rokov pred | |
CHANGELOG.md | 2 rokov pred | |
LICENSE | 2 rokov pred | |
README.md | 2 rokov pred | |
package.json | 2 rokov pred |
@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.