Skip to content

Add options for writePackageJSON #104

@monolithed

Description

@monolithed

grunt.file.write(init.destpath(filename), JSON.stringify(pkg, null, 2));

It would be nice if you can add additional arguments for JSON.stringify.
For example, I'd like to use tabs instead of spaces

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions