mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
20 lines
399 B
JavaScript
20 lines
399 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Any gulp helper functions.
|
|
*/
|
|
|
|
// Clears the require cache to ensure the package.json is up to date.
|
|
function getPackageJson() {
|
|
delete require.cache[require.resolve('../../package.json')]
|
|
return require('../../package.json');
|
|
}
|
|
|
|
module.exports = {
|
|
getPackageJson: getPackageJson
|
|
}
|