mirror of
https://github.com/zoo-apps/lab.git
synced 2026-10-30 14:56:44 +00:00
- Full app extraction from zoo monorepo (source only) - Configured for GitHub Pages deployment - Static export enabled - Custom domain: lab.zoo.ngo - Excludes node_modules and build artifacts
12 lines
300 B
JavaScript
12 lines
300 B
JavaScript
const fs = require("fs");
|
|
|
|
if (!fs.existsSync("./src/contracts/hardhat_contracts.json")) {
|
|
try {
|
|
fs.writeFileSync("./src/contracts/hardhat_contracts.json", JSON.stringify({}));
|
|
|
|
console.log("src/contracts/hardhat_contracts.json created.");
|
|
} catch (error) {
|
|
console.log(error);
|
|
}
|
|
}
|