1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const fs = require("fs");
|
4 | function readJson(path = 'package.json') {
|
5 | try {
|
6 | return JSON.parse(fs.readFileSync(path, 'utf8'));
|
7 | }
|
8 | catch (_a) {
|
9 | return null;
|
10 | }
|
11 | }
|
12 | exports.readJson = readJson;
|