Yarn
Yarn is an alternative to npm.
Create yarn project in Intellij
- if you load an existing yarn project, intellij should set this build type:
- build type: File > settings > Lang. and FW > Node.js and NPM > package manager > yarn
- to build: Project navigator > package.json > rclick > Run 'yarn install'
- to run:
- Open the package.json file in the editor
- click run in the gutter next to the script
- choose Run <script_name> or Debug <script_name> on the context menu.