mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
10 lines
292 B
JavaScript
10 lines
292 B
JavaScript
import { readFileSync, writeFileSync } from "fs";
|
|
|
|
const raw = readFileSync("package.json");
|
|
const json = JSON.parse(raw);
|
|
|
|
delete json.scripts;
|
|
delete json.devDependencies;
|
|
delete json.dependencies["@monitor/util"];
|
|
|
|
writeFileSync("./build/package.json", JSON.stringify(json, undefined, 2)); |