mirror of
https://github.com/hanzoai/jest.git
synced 2026-09-24 16:59:57 +00:00
* chore: Make sure copyright header comment includes license * Add period at end of copyright line in checkCopyrightHeaders.js :) * Update CHANGELOG.md
19 lines
454 B
JavaScript
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`);
|