Skip to content

Bun package.json scripts overriding  #12666

Open

Description

What is the problem this feature would solve?

Would be nice that scripts inside package.json override default bun task.

What is the feature you are proposing to solve the problem?

For example, defining the script "build" and "test" would not call bun's default but the defined script content, allowing to define custom behaviors and overriding.

It would ease the integration with other languages where you want to build or test, that it's not meant to be actually building the typescript but doing some custom actions or build something different than the default bun build action.

Hope that make sense :)

What alternatives have you considered?

Simply specifying bun run <script> everytime but less convenient than bun <script> directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions