UNPKG

@grept/node-plugin

Version:

Plugin for @grt/core. Help to manage nodejs versions of your repos

25 lines (21 loc) 515 B
import { IInputOptions } from "./interfaces"; import { IMeta } from "@grept/common"; export const PLUGIN_NAME = 'node'; export const DEFAULT: Partial<IInputOptions> = { nvm: true, engines: true, }; export const META: IMeta[] = [ { name: 'nvm', type: 'boolean', description: 'Search or not in .nvmrc', defaultValue: DEFAULT.nvm, }, { name: 'engines', type: 'boolean', description: 'Search or not in engines section of package.json', defaultValue: DEFAULT.engines, } ]