Added new run webstorm run configurations

This commit is contained in:
Arnaud Vergnet 2020-08-07 14:41:55 +02:00
parent 0e741a02e2
commit 4ee7490af4
5 changed files with 51 additions and 0 deletions

1
.gitignore vendored
View file

@ -25,6 +25,7 @@ DerivedData
#
build/
.idea
!.idea/runConfigurations
.gradle
local.properties
*.iml

View file

@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Lint Check" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="lint" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>

View file

@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run Android" type="ReactNative" factoryName="React Native">
<node-interpreter value="project" />
<react-native value="$PROJECT_DIR$/node_modules/react-native" />
<platform value="ANDROID" />
<envs />
<only-packager />
<browser value="98ca6316-2f89-46d9-a9e5-fa9e2b0625b3" />
<method v="2">
<option name="ReactNativePackager" enabled="true" />
</method>
</configuration>
</component>

View file

@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run Android Release" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="android-release" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>

View file

@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Run iOS" type="ReactNative" factoryName="React Native">
<node-interpreter value="project" />
<react-native value="$PROJECT_DIR$/node_modules/react-native" />
<platform value="IOS" />
<envs />
<only-packager />
<browser value="98ca6316-2f89-46d9-a9e5-fa9e2b0625b3" />
<method v="2">
<option name="ReactNativePackager" enabled="true" />
</method>
</configuration>
</component>