@omni-door/tpl-component-library-react
Version:
The React component-library-react project template
121 lines (120 loc) • 5.42 kB
TypeScript
import babel from './babel';
import commitlint from './commitlint';
import eslint from './eslint';
import eslintignore from './eslintignore';
import gitignore from './gitignore';
import npmignore from './npmignore';
import jest from './jest';
import readme from './readme';
import tsconfig from './tsconfig';
import stylelint from './stylelint';
import source_index from './source/index';
import source_d from './source/declaration';
import storybook_addons from './.storybook/addons';
import storybook_config from './.storybook/config';
import storybook_mhead from './.storybook/manager-head';
import storybook_webpack from './.storybook/webpack';
import bisheng from './bisheng';
import posts_readme from './posts/readme';
import doczrc from './doczrc';
import mdx from './mdx';
import component_class from './new/class_component';
import component_functional from './new/functional_component';
import component_index from './new/index';
import component_readme from './new/readme';
import component_stylesheet from './new/stylesheet';
import component_test from './new/test';
import component_mdx from './new/mdx';
import component_stories from './new/stories';
export { default as babel } from './babel';
export { default as commitlint } from './commitlint';
export { default as eslint } from './eslint';
export { default as eslintignore } from './eslintignore';
export { default as gitignore } from './gitignore';
export { default as npmignore } from './npmignore';
export { default as jest } from './jest';
export { default as omni } from './omni';
export { default as pkj } from './package';
export { default as readme } from './readme';
export { default as tsconfig } from './tsconfig';
export { default as stylelint } from './stylelint';
export { default as source_index } from './source/index';
export { default as source_d } from './source/declaration';
export { default as storybook_addons } from './.storybook/addons';
export { default as storybook_config } from './.storybook/config';
export { default as storybook_mhead } from './.storybook/manager-head';
export { default as storybook_webpack } from './.storybook/webpack';
export { default as bisheng } from './bisheng';
export { default as posts_readme } from './posts/readme';
export { default as doczrc } from './doczrc';
export { default as mdx } from './mdx';
export { default as component_class } from './new/class_component';
export { default as component_functional } from './new/functional_component';
export { default as component_index } from './new/index';
export { default as component_readme } from './new/readme';
export { default as component_stylesheet } from './new/stylesheet';
export { default as component_test } from './new/test';
export { default as component_mdx } from './new/mdx';
export { default as component_stories } from './new/stories';
declare const tpls: {
babel: typeof babel;
commitlint: typeof commitlint;
eslint: typeof eslint;
eslintignore: typeof eslintignore;
gitignore: typeof gitignore;
jest: typeof jest;
npmignore: typeof npmignore;
omni: (config: {
project_type: import("@omni-door/tpl-utils").PROJECT_TYPE;
ts: boolean;
test: boolean;
eslint: boolean;
commitlint: boolean;
style: import("@omni-door/tpl-utils").STYLE;
stylelint: boolean;
mdx: boolean;
}) => string;
pkj: (config: {
project_type: import("@omni-door/tpl-utils").PROJECT_TYPE;
name: string;
ts: boolean;
devServer: import("@omni-door/tpl-utils").DEVSERVER;
test: boolean;
eslint: boolean;
commitlint: boolean;
stylelint: boolean;
strategy: import("@omni-door/tpl-utils").STRATEGY;
type_react?: string | undefined;
}) => string;
readme: typeof readme;
stylelint: typeof stylelint;
tsconfig: typeof tsconfig;
source_index: typeof source_index;
source_d: typeof source_d;
storybook_addons: typeof storybook_addons;
storybook_config: typeof storybook_config;
storybook_mhead: typeof storybook_mhead;
storybook_webpack: typeof storybook_webpack;
doczrc: typeof doczrc;
bisheng: typeof bisheng;
posts_readme: typeof posts_readme;
mdx: typeof mdx;
component_class: typeof component_class;
component_functional: typeof component_functional;
component_index: typeof component_index;
component_readme: typeof component_readme;
component_stylesheet: typeof component_stylesheet;
component_test: typeof component_test;
component_mdx: typeof component_mdx;
component_stories: typeof component_stories;
};
declare type TPLS = {
[T in keyof typeof tpls]: typeof tpls[T];
};
export declare type TPLS_INITIAL = Omit<TPLS, 'component_class' | 'component_functional' | 'component_index' | 'component_readme' | 'component_stylesheet' | 'component_test' | 'component_mdx' | 'component_stories'>;
export declare type TPLS_INITIAL_FN = TPLS_INITIAL[keyof TPLS_INITIAL];
export declare type TPLS_INITIAL_RETURE = Partial<TPLS_INITIAL>;
export declare type TPLS_NEW = Pick<TPLS, 'component_class' | 'component_functional' | 'component_index' | 'component_readme' | 'component_stylesheet' | 'component_test' | 'component_mdx' | 'component_stories'>;
export declare type TPLS_NEW_FN = TPLS_NEW[keyof TPLS_NEW];
export declare type TPLS_NEW_RETURE = Partial<TPLS_NEW>;
export default tpls;