Skip to content
Discussion options

You must be logged in to vote

In the root of the nitro project:
The first config is nodejs based.
The second is npm based so you can run a script from your package.json (e.g. nitropack dev).

<!-- nitro.run.xml -->
<component name="ProjectRunConfigurationManager">
  <configuration default="false" name="nitro:nodejs:dev" type="NodeJSConfigurationType" application-parameters="dev" path-to-js-file="node_modules/.bin/nitropack" working-dir="$PROJECT_DIR$">
    <method v="2" />
  </configuration>

    <configuration default="false" name="nitro:npm:dev" type="js.build_tools.npm" nameIsGenerated="true">
        <package-json value="$PROJECT_DIR$/package.json" />
        <command value="run" />
        <scripts>
            <s…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Harm-Nullix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant