Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
412 B
Text
19 lines
412 B
Text
/**
|
|
* @license
|
|
* Copyright 2021 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import fs from 'fs';
|
|
import path from 'path';
|
|
|
|
import {getModuleDirectory} from './esm-utils.js';
|
|
|
|
const LH_ROOT = path.dirname(getModuleDirectory(import.meta));
|
|
const pkg = JSON.parse(fs.readFileSync(`${LH_ROOT}/package.json`, 'utf-8'));
|
|
const lighthouseVersion = pkg.version;
|
|
|
|
export {
|
|
LH_ROOT,
|
|
lighthouseVersion,
|
|
};
|