1 Star 0 Fork 55

好想出去玩/GitKraken

forked from 马3进4/GitKraken 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
global.ts 470 Bytes
一键复制 编辑 原始数据 按行查看 历史
马3进4 提交于 2022-02-24 10:46 . 存档
/// <reference path="./types/index.d.ts" />
import * as path from "path";
import * as fs from "fs-extra";
import * as pkgDir from "pkg-dir";
/**
* Base directory with package.json
*/
export const baseDir = pkgDir.sync(__dirname) as string;
/**
* package.json
*/
export const packageJson: {
author: string;
description: string;
homepage: string;
license: string;
name: string;
version: string;
} = fs.readJSONSync(path.join(baseDir, "package.json"));
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/levindandelion/GitKraken.git
git@gitee.com:levindandelion/GitKraken.git
levindandelion
GitKraken
GitKraken
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385