ng-rest/.make-package.js

9 lines
278 B
JavaScript
Raw Permalink Normal View History

2018-05-16 11:41:46 +00:00
const fs = require('fs');
const packageJson = JSON.parse(fs.readFileSync('./package.json').toString());
delete packageJson.devDependencies;
delete packageJson.scripts;
packageJson.private = false;
fs.writeFileSync('./dist/package.json', JSON.stringify(packageJson, null, 2));