1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-24 21:15:51 +01:00

chore: update gitignore

allow vscode files to be shared
This commit is contained in:
Juan Picado @jotadeveloper 2018-03-17 11:53:10 +01:00
parent 0c678b9158
commit 5a93589caa
No known key found for this signature in database
GPG Key ID: 18AC54485952D158
5 changed files with 71 additions and 3 deletions

@ -22,6 +22,7 @@ node_modules
# output from test runs and similar things
*.log
coverage/
.vscode/
# IDE config files
jsconfig.json

3
.gitignore vendored

@ -19,9 +19,6 @@ yarn-error.log
coverage/
.nyc*
# Visual Studio Code
.vscode/*
.idea/

@ -10,3 +10,4 @@ tools/
/.*
website/
assets/
.vscode/

60
.vscode/launch.json vendored Normal file

@ -0,0 +1,60 @@
{
// 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": "attach",
"name": "Attach to Process",
"processId": "${command:PickProcess}",
"port": 5858
},
{
"name": "Tests",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/jest-cli/bin/jest.js",
"stopOnEntry": false,
"args": ["--runInBand"],
"cwd": "${workspaceRoot}",
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "test"
},
"externalConsole": false,
"sourceMaps": false,
"outDir": null
},
{
"type": "node",
"request": "launch",
"name": "Mocha Tests",
"stopOnEntry": false,
"runtimeExecutable": null,
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"args": [
"--no-timeouts",
"${workspaceRoot}/test/unit"
]
},
{
"type": "node",
"request": "launch",
"name": "Verdaccio",
"program": "${workspaceRoot}/bin/verdaccio"
},
{
"type": "node",
"request": "attach",
"name": "Attach to Process",
"address": "localhost",
"port": 5858
}
]
}

9
.vscode/settings.json vendored Normal file

@ -0,0 +1,9 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"**/.idea": false,
"**/.nyc_output": true,
"**/build": true,
"**/coverage": true
}
}