Last active
November 22, 2017 14:15
-
-
Save nicolasrouanne/26a362f972380ec6cb75b5634854fc8d to your computer and use it in GitHub Desktop.
VSCode settings file for node js project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible Node.js debug 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": "node", | |
"request": "launch", | |
"name": "Launch app", | |
"program": "${workspaceRoot}/app.js", | |
"cwd": "${workspaceRoot}", | |
"protocol": "inspector" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch worker", | |
"program": "${workspaceRoot}/worker.js", | |
"cwd": "${workspaceRoot}", | |
"protocol": "inspector" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Run unit tests", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": ["test/bootstrap.test.js", "test/unit/**/**.js", "--no-timeouts"], | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": null, | |
"env": { "NODE_ENV": "test", "ADMIN_PASS": "REPLACE_WITH_ADMIN_PASS"}, | |
"protocol": "inspector" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Run API tests", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": ["test/bootstrap.test.js", "test/api/**/**.js", "--no-timeouts"], | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": null, | |
"env": { "NODE_ENV": "test", "ADMIN_PASS": "REPLACE_WITH_ADMIN_PASS"}, | |
"protocol": "inspector" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Run integration tests", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": ["test/bootstrap.test.js", "test/integration/**/**.js", "--no-timeouts"], | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": null, | |
"env": { "NODE_ENV": "test", "ADMIN_PASS": "NacvSe5XNHZqbbrpLJcL"}, | |
"protocol": "inspector" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Run custom test", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": ["test/bootstrap.test.js", "test/unit/services/CrudService.test.js", "--no-timeouts"], | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": null, | |
"env": { "NODE_ENV": "test", "ADMIN_PASS": "REPLACE_WITH_ADMIN_PASS"}, | |
"protocol": "inspector" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Run all tests", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"stopOnEntry": false, | |
"args": ["test/bootstrap.test.js", "test/**/*.test.js", "--no-timeouts"], | |
"cwd": "${workspaceRoot}", | |
"runtimeExecutable": null, | |
"env": { "NODE_ENV": "test", "ADMIN_PASS": "REPLACE_WITH_ADMIN_PASS"}, | |
"protocol": "inspector" | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Placez vos paramètres dans ce fichier pour remplacer les paramètres par défaut et les paramètres utilisateur. | |
{ | |
"eslint.enable": true, | |
"search.exclude": { | |
"**/node_modules": false, | |
"**/bower_components": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment