import { writeFileSync, readFileSync } from 'fs';

const packageJson = JSON.parse(readFileSync('./package.json').toString());
delete packageJson.devDependencies;
delete packageJson.scripts;
writeFileSync('./dist/package.json', JSON.stringify(packageJson, null, 2));

Prepare package for npm distribution
Prepare package for npm distribution
