@storyblok/create-demo
Version:
A CLI tool for quickly starting a Storyblok project
33 lines (32 loc) • 1.41 kB
TypeScript
export interface Framework {
/** The name of the framework used as label in the tool */
name: string;
/** The framework identifier used as key in the tool */
value: string;
/** argument used for `npm run` . Typically is dev, but you can customize it for example `dev-ssl` */
start: string;
/** the Storyblok preview access token */
token: string;
/** the file that contains the initializaztion of the Stroyblok Client (with the setting for the access token) */
config: string;
/** the file that instance the Storyblok bridge */
bridge: string;
/** the public/static folder of the framework (typically `public` or `static`) */
public: string;
/** the port used by the framework to start the local webserver */
port: string;
/** @deprecated if the HTTPS protocol is used */
https?: boolean;
/** @deprecated if the submodules is used in the Getting Started repository */
submodules?: boolean;
/** the Storyblok Ultimate Tutorial link useful for the recap message */
tutorialLink?: boolean;
/** The repository URL for cloning the project */
repositoryUrl?: string;
/** the branch used */
branch?: string;
/** true if the SSL certificate is created via mkcert or fals or null if the framework uses vite basicSsl */
usingMkcert?: boolean;
}
declare const frameworks: Framework[];
export default frameworks;