Skip to main content
Module

x/fzf/scripts/postpack.cjs

Do fuzzy matching using FZF algorithm in JavaScript
Go to Latest
File
const shell = require("shelljs");
const pkg = require("../package.json");delete pkg["type"];
// we're putting newline at end so it matches w/ prettier formatconst pkgStr = JSON.stringify(pkg, null, 2) + "\n";shell.ShellString(pkgStr).to("package.json");