blob: f13672e9d3d70cefb8775ccdbec565ef16521c76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/**
* @license
* Copyright 2022 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
import {mkdirSync, writeFileSync} from 'fs';
import {dirname} from 'path';
/**
* Outputs the dummy package.json file to the path specified
* by the first argument.
*/
mkdirSync(dirname(process.argv[2]), {recursive: true});
writeFileSync(process.argv[2], `{"type": "module"}`);
|