Last active
July 26, 2018 18:25
-
-
Save js62789/3cf75089f91a99da6832bc8dda27f628 to your computer and use it in GitHub Desktop.
A standard set of VSCode configuration files
This file contains 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Dev Server", | |
"runtimeExecutable": "npm", | |
"runtimeArgs": [ | |
"run-script", | |
"debug" | |
], | |
"env": { | |
"NODE_ENV": "development" | |
}, | |
"port": 9229 | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Tests", | |
"program": "${workspaceFolder}/node_modules/.bin/tap", | |
"args": [ | |
"--node-arg=-r", | |
"--node-arg=babel-register", | |
"tests/all_tests.js" | |
], | |
"outputCapture": "std", | |
"env": { | |
"LOG_TO_CONSOLE": "1", | |
"NODE_ENV": "test" | |
}, | |
"cwd": "${workspaceFolder}" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Client Build", | |
"program": "${workspaceFolder}/node_modules/.bin/webpack", | |
"args": [ | |
"--env.production", | |
"--config", | |
"config/webpack.config.js" | |
], | |
"cwd": "${workspaceFolder}" | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Storybook", | |
"program": "${workspaceFolder}/node_modules/.bin/start-storybook", | |
"args": [ | |
"-p", | |
"9001", | |
"-c", | |
".storybook" | |
], | |
"cwd": "${workspaceFolder}" | |
} | |
] | |
} |
This file contains 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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "npm", | |
"identifier": "build", | |
"script": "build", | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
} | |
}, | |
{ | |
"type": "npm", | |
"identifier": "install", | |
"script": "install" | |
}, | |
{ | |
"type": "npm", | |
"identifier": "lint", | |
"script": "lint", | |
"problemMatcher": [ | |
"$eslint-stylish" | |
] | |
}, | |
{ | |
"type": "npm", | |
"identifier": "test", | |
"script": "test", | |
"group": "test", | |
"options": { | |
"env": { | |
"NODE_ENV": "test" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment