UNPKG

@yanhe-su/cli

Version:

CLI tool for DAO Style projects - providing project scaffolding, template generation and dependency management

22 lines (21 loc) 583 B
import path from 'path'; import { fileURLToPath } from 'node:url'; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); export const ciTemplate = { name: 'ci', path: path.resolve(__dirname, 'files'), transform: (data) => { return { ...data, ciConfig: { node_version: '18.x', pnpm_version: '8.x', }, scripts: { 'ci:test': 'pnpm lint && pnpm test', 'ci:build': 'pnpm build', }, }; }, };