mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-25 02:10:32 -06:00
add vscode and Jetbrains launch configuration files
Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
This commit is contained in:
parent
e1a0acdb4e
commit
ce8fe7c8da
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,7 +3,6 @@ dist
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
js/preload/_*.js
|
js/preload/_*.js
|
||||||
.idea/
|
.idea/
|
||||||
.vscode/
|
|
||||||
coverage/
|
coverage/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
DerivedData/
|
DerivedData/
|
||||||
|
9
.run/corp.run.xml
Normal file
9
.run/corp.run.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="corp-pod-start" type="NodeJSConfigurationType" application-parameters=". --url=https://corporate.symphony.com/login/sso/initsso" path-to-node="$PROJECT_DIR$/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron" working-dir="$PROJECT_DIR$">
|
||||||
|
<envs>
|
||||||
|
<env name="ELECTRON_DEBUGGING" value="true" />
|
||||||
|
<env name="ELECTRON_DEV" value="true" />
|
||||||
|
</envs>
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
37
.run/demo.run.xml
Normal file
37
.run/demo.run.xml
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="demo-start" 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_DEBUGGING" value="true" />
|
||||||
|
<env name="ELECTRON_DEV" value="true" />
|
||||||
|
</envs>
|
||||||
|
<method v="2">
|
||||||
|
<option name="NpmBeforeRunTask" enabled="true">
|
||||||
|
<package-json value="$PROJECT_DIR$/package.json" />
|
||||||
|
<command value="run" />
|
||||||
|
<scripts>
|
||||||
|
<script value="compile" />
|
||||||
|
</scripts>
|
||||||
|
<node-interpreter value="project" />
|
||||||
|
<envs />
|
||||||
|
</option>
|
||||||
|
<option name="NpmBeforeRunTask" enabled="true">
|
||||||
|
<package-json value="$PROJECT_DIR$/package.json" />
|
||||||
|
<command value="run" />
|
||||||
|
<scripts>
|
||||||
|
<script value="browserify-preload" />
|
||||||
|
</scripts>
|
||||||
|
<node-interpreter value="project" />
|
||||||
|
<envs />
|
||||||
|
</option>
|
||||||
|
<option name="NpmBeforeRunTask" enabled="true">
|
||||||
|
<package-json value="$PROJECT_DIR$/package.json" />
|
||||||
|
<command value="run" />
|
||||||
|
<scripts>
|
||||||
|
<script value="browserify-preload-component" />
|
||||||
|
</scripts>
|
||||||
|
<node-interpreter value="project" />
|
||||||
|
<envs />
|
||||||
|
</option>
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
15
.run/unit.run.xml
Normal file
15
.run/unit.run.xml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="unit-tests" type="JavaScriptTestRunnerJest">
|
||||||
|
<config-file value="$PROJECT_DIR$/jest-config.json" />
|
||||||
|
<node-interpreter value="$USER_HOME$/.nvm/versions/node/v12.13.0/bin/node" />
|
||||||
|
<node-options value="" />
|
||||||
|
<jest-package value="$PROJECT_DIR$/node_modules/jest" />
|
||||||
|
<working-dir value="$PROJECT_DIR$" />
|
||||||
|
<jest-options value="--runInBand --detectOpenHandles" />
|
||||||
|
<envs>
|
||||||
|
<env name="ELECTRON_QA" value="true" />
|
||||||
|
</envs>
|
||||||
|
<scope-kind value="ALL" />
|
||||||
|
<method v="2" />
|
||||||
|
</configuration>
|
||||||
|
</component>
|
45
.vscode/launch.json
vendored
Normal file
45
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "corp",
|
||||||
|
"type": "node",
|
||||||
|
"request": "launch",
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
|
||||||
|
"windows": {
|
||||||
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
||||||
|
},
|
||||||
|
"args": [".", "--url=https://corporate.symphony.com"],
|
||||||
|
"env": {
|
||||||
|
"ELECTRON_DEBUGGING": "true",
|
||||||
|
"ELECTRON_DEV": "true"
|
||||||
|
},
|
||||||
|
"outputCapture": "std",
|
||||||
|
"sourceMaps": true,
|
||||||
|
"outFiles": [
|
||||||
|
"${workspaceFolder}/lib/**/*.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "corp",
|
||||||
|
"type": "node",
|
||||||
|
"request": "launch",
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron",
|
||||||
|
"windows": {
|
||||||
|
"runtimeExecutable": "${workspaceFolder}/node_modules/electron/dist/Electron.exe"
|
||||||
|
},
|
||||||
|
"args": [".", "--url=${workspaceFolder}/src/demo/index.html"],
|
||||||
|
"env": {
|
||||||
|
"ELECTRON_DEBUGGING": "true",
|
||||||
|
"ELECTRON_DEV": "true"
|
||||||
|
},
|
||||||
|
"outputCapture": "std",
|
||||||
|
"sourceMaps": true,
|
||||||
|
"outFiles": [
|
||||||
|
"${workspaceFolder}/lib/**/*.js"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user