utils.ts 291 B

1234567891011
  1. import dayjs from 'dayjs';
  2. import { name, version, engines } from '../package.json';
  3. const __APP_INFO__ = {
  4. pkg: { name, version, engines },
  5. APP_TITLE: 'web-cli-pc',
  6. APP_TITLE_SHORT: 'cli',
  7. lastBuildTime: dayjs(new Date()).format('YYYY-MM-DD HH:mm:ss')
  8. };
  9. export { __APP_INFO__ };