-
Notifications
You must be signed in to change notification settings - Fork 96
VSCode settings
Miguel Laginha edited this page Apr 19, 2020
·
1 revision
launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "firefox",
"request": "launch",
"reAttach": true,
"name": "Launch localhost",
"url": "http://localhost/index.html",
"webRoot": "${workspaceFolder}"
},
{
"type": "node",
"request": "launch",
"name": "Mocha Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": ["-r", "esm", "node_modules/oae-tests/runner/before-tests.js", "packages/oae-*/tests/**/*.js"],
// "args": ["-r", "esm", "node_modules/oae-tests/runner/before-tests.js", "node_modules/oae-*/tests/*.js"],
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Tenancy migration",
"program": "${workspaceFolder}/etc/migration/tenant-migration/index.js",
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Grunt 3akai-ux",
"cwd": "${workspaceFolder}/3akai-ux",
"program": "${workspaceFolder}/3akai-ux/node_modules/grunt-cli/bin/grunt",
"args": [],
"console": "integratedTerminal",
"timeout": 120000
},
{
"type": "node",
"request": "launch",
"name": "nodemon Hilary",
"runtimeExecutable": "nodemon",
"program": "${workspaceFolder}/app.js",
"restart": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"runtimeArgs": ["-r", "esm"],
"args": [
"|npx bunyan"
]
},
{
"type": "node",
"request": "launch",
"name": "Hilary",
"runtimeExecutable": "node",
"program": "${workspaceFolder}/app.js",
"restart": true,
"console": "integratedTerminal",
"runtimeArgs": ["-r", "esm"],
"internalConsoleOptions": "neverOpen",
"timeout": 20000,
"args": [
"|npx bunyan"
]
},
]
}
settings.json
:
{
// check https://github.com/Microsoft/vscode/issues/869
"files.exclude": {
"node_modules/**": true,
"3akai-ux/node_modules/[^o]*": true,
"3akai-ux/node_modules/o[^a]*": true,
"3akai-ux/node_modules/oa[^e]*": true,
"3akai-ux/node_modules/oae[^-]*": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true
},
"files.watcherExclude": {
"node_modules/**": true,
"**/.git/objects/**": true,
"3akai-ux/node_modules/[^o]*": true,
"3akai-ux/node_modules/o[^a]*": true,
"3akai-ux/node_modules/oa[^e]*": true,
"3akai-ux/node_modules/oae[^-]*": true
},
"search.exclude": {
"node_modules/**": true,
"3akai-ux/node_modules/[^o]*/**": true,
"3akai-ux/node_modules/o[^a]*/**": true,
"3akai-ux/node_modules/oa[^e]*/**": true,
"3akai-ux/node_modules/oae[^-]*/**": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true
},
"git.ignoreLimitWarning": true
}
tasks.json
:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run tests on a module",
"type": "grunt",
"task": "test-module",
"problemMatcher": [],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
}
},
{
"label": "Run tests",
"type": "grunt",
"task": "test",
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
}
},
{
"label": "Run tests except previews",
"type": "grunt",
"task": "test-all",
"problemMatcher": [],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
}
}
]
}