@shopify/cli-kit
    Preparing search index...

    An interface that represents a package.json

    interface PackageJson {
        author?: string;
        dependencies?: Record<string, string>;
        devDependencies?: Record<string, string>;
        name?: string;
        oclif?: { plugins?: string[] };
        overrides?: Record<string, string>;
        peerDependencies?: Record<string, string>;
        prettier?: string;
        private?: boolean;
        resolutions?: Record<string, string>;
        scripts?: Record<string, string>;
        version?: string;
        workspaces?: string[];
    }
    Index

    Properties

    author?: string

    The author attribute of the package.json

    dependencies?: Record<string, string>

    The dependencies attribute of the package.json

    devDependencies?: Record<string, string>

    The devDependencies attribute of the package.json

    name?: string

    The name attribute of the package.json

    oclif?: { plugins?: string[] }

    The optional oclif settings attribute of the package.json

    overrides?: Record<string, string>

    The overrides attribute of the package.json. Only useful when using npm o npmn as package managers

    peerDependencies?: Record<string, string>

    The peerDependencies attribute of the package.json

    prettier?: string

    The prettier attribute of the package.json

    private?: boolean

    The private attribute of the package.json. https://docs.npmjs.com/cli/v9/configuring-npm/package-json#private

    resolutions?: Record<string, string>

    The resolutions attribute of the package.json. Only useful when using yarn as package manager

    scripts?: Record<string, string>

    The scripts attribute of the package.json

    version?: string

    The version attribute of the package.json

    workspaces?: string[]

    The workspaces attribute of the package.json