Files
jest/scripts/remove-postinstall.js
T
Mark PedrottiandChristoph Nakazawa 79b1a4a778 chore: Make sure copyright header comment includes license (#8783)
* chore: Make sure copyright header comment includes license

* Add period at end of copyright line in checkCopyrightHeaders.js :)

* Update CHANGELOG.md
2019-08-06 09:59:16 +01:00

19 lines
454 B
JavaScript

/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
const {writeFileSync} = require('fs');
const pkgPath = require.resolve('../package.json');
const pkg = require('../package.json');
delete pkg.scripts.postinstall;
writeFileSync(pkgPath, `${JSON.stringify(pkg, null, 2)}\n`);