@omni-door/tpl-spa-react
Version:
The React single-page-application project template
39 lines (38 loc) • 1.03 kB
TypeScript
import type { STYLE, STRATEGY, LAYOUT } from '@omni-door/utils';
interface Config {
ts: boolean;
test: boolean;
eslint: boolean;
prettier: boolean;
commitlint: boolean;
style: STYLE;
layout: LAYOUT;
stylelint: boolean;
tag?: string;
}
export declare function dependencies(strategy: STRATEGY, config: Config): Promise<{
depArr: string[];
depStr: string;
}>;
export declare function devDependencies(strategy: STRATEGY, config: Config): Promise<{
devDepArr: string[];
defaultDepArr: string[];
defaultDepStr: string;
buildDepArr: string[];
buildDepStr: string;
tsDepArr: string[];
tsDepStr: string;
testDepArr: string[];
testDepStr: string;
eslintDepArr: string[];
eslintDepStr: string;
prettierDepArr: string[];
prettierDepStr: string;
commitlintDepArr: string[];
commitlintDepStr: string;
stylelintDepArr: string[];
stylelintDepStr: string;
devServerDepArr: string[];
devServerDepStr: string;
}>;
export {};