mirror of
https://github.com/zebrajr/Reactive-Resume.git
synced 2025-12-06 12:20:18 +01:00
8 lines
250 B
JavaScript
8 lines
250 B
JavaScript
const fs = require("fs");
|
|
const path = require("path");
|
|
|
|
const packageJsonPath = path.join(__dirname, "..", "..", "package.json");
|
|
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, "utf-8"));
|
|
|
|
process.stdout.write(packageJson.version);
|