chore: add run configurations for jetbrains IDEs

This commit is contained in:
Vishwas Shashidhar 2021-01-13 18:33:37 +05:30
parent 03f2aec197
commit f5b02d4eb1
10 changed files with 106 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="All Unit Tests" type="JavaScriptTestRunnerJest">
<config-file value="$PROJECT_DIR$/jest-config.json" />
<node-interpreter value="project" />
<node-options value="" />
<jest-package value="$PROJECT_DIR$/node_modules/jest" />
<working-dir value="$PROJECT_DIR$" />
<jest-options value="--runInBand --detectOpenHandles" />
<envs />
<scope-kind value="ALL" />
<method v="2" />
</configuration>
</component>

View File

@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Browserify Preload" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="browserify-preload" />
</scripts>
<node-interpreter value="$USER_HOME$/.nvm/versions/node/v12.20.1/bin/node" />
<envs />
<method v="2" />
</configuration>
</component>

View File

@ -0,0 +1,11 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Build &amp; Run Corp" type="NodeJSConfigurationType" application-parameters=". --url=https://corporate.symphony.com" path-to-node="$PROJECT_DIR$/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron" working-dir="$PROJECT_DIR$">
<envs>
<env name="ELECTRON_DEV" value="true" />
<env name="ELECTRON_DEBUGGING" value="true" />
</envs>
<method v="2">
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Compile &amp; Build" run_configuration_type="CompoundRunConfigurationType" />
</method>
</configuration>
</component>

View File

@ -0,0 +1,11 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Build &amp; Run Mana" type="NodeJSConfigurationType" application-parameters=". --url=https://local-dev.symphony.com:9090/" path-to-node="$PROJECT_DIR$/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron" working-dir="$PROJECT_DIR$">
<envs>
<env name="ELECTRON_DEV" value="true" />
<env name="ELECTRON_DEBUGGING" value="true" />
</envs>
<method v="2">
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Compile &amp; Build" run_configuration_type="CompoundRunConfigurationType" />
</method>
</configuration>
</component>

View File

@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Browserify Preload Component" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="browserify-preload-component" />
</scripts>
<node-interpreter value="$USER_HOME$/.nvm/versions/node/v12.20.1/bin/node" />
<envs />
<method v="2" />
</configuration>
</component>

View File

@ -0,0 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Compile &amp; Build" type="CompoundRunConfigurationType">
<toRun name="Browserify Preload Component" type="js.build_tools.npm" />
<toRun name="Compile" type="js.build_tools.npm" />
<toRun name="Browserify Preload" type="js.build_tools.npm" />
<method v="2" />
</configuration>
</component>

12
.run/Compile.run.xml Normal file
View File

@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Compile" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="compile" />
</scripts>
<node-interpreter value="$USER_HOME$/.nvm/versions/node/v12.20.1/bin/node" />
<envs />
<method v="2" />
</configuration>
</component>

9
.run/Run Corp.run.xml Normal file
View File

@ -0,0 +1,9 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run Corp" type="NodeJSConfigurationType" application-parameters=". --url=https://corporate.symphony.com" path-to-node="$PROJECT_DIR$/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron" working-dir="$PROJECT_DIR$">
<envs>
<env name="ELECTRON_DEV" value="true" />
<env name="ELECTRON_DEBUGGING" value="true" />
</envs>
<method v="2" />
</configuration>
</component>

9
.run/Run Demo.run.xml Normal file
View File

@ -0,0 +1,9 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run Demo" type="NodeJSConfigurationType" application-parameters=". --url=file://$PROJECT_DIR$/src/demo/index.html" path-to-node="$PROJECT_DIR$/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron" working-dir="$PROJECT_DIR$">
<envs>
<env name="ELECTRON_DEV" value="true" />
<env name="ELECTRON_DEBUGGING" value="true" />
</envs>
<method v="2" />
</configuration>
</component>

9
.run/Run Mana.run.xml Normal file
View File

@ -0,0 +1,9 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run Mana" type="NodeJSConfigurationType" application-parameters=". --url=https://local-dev.symphony.com:9090/" path-to-node="$PROJECT_DIR$/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron" working-dir="$PROJECT_DIR$">
<envs>
<env name="ELECTRON_DEV" value="true" />
<env name="ELECTRON_DEBUGGING" value="true" />
</envs>
<method v="2" />
</configuration>
</component>