Last active
August 19, 2022 08:31
-
-
Save edward/67a7ae935ef4a423245c50db1819630b to your computer and use it in GitHub Desktop.
Visual Studio Code debugging for Exercism
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest All", | |
"program": "${workspaceFolder}/node_modules/.bin/jest", | |
"args": [ | |
"--runInBand" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"disableOptimisticBPs": true, | |
"windows": { | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest", | |
} | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Jest Current File", | |
"program": "${workspaceFolder}/node_modules/.bin/jest", | |
"args": [ | |
"${fileBasenameNoExtension}", | |
"--config", | |
"jest.config.js" | |
], | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"disableOptimisticBPs": true, | |
"windows": { | |
"program": "${workspaceFolder}/node_modules/jest/bin/jest", | |
} | |
} | |
] | |
} |
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
{ | |
"name": "@exercism/typescript", | |
"version": "1.0.0", | |
"description": "Exercism exercises in Typescript.", | |
"author": "", | |
"private": true, | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/exercism/typescript" | |
}, | |
"devDependencies": { | |
"@types/jest": "^24.0.18", | |
"@types/node": "^12.7.12", | |
"@typescript-eslint/eslint-plugin": "^2.3.3", | |
"@typescript-eslint/parser": "^2.3.3", | |
"eslint": "^6.5.1", | |
"eslint-plugin-import": "^2.18.2", | |
"jest": "^24.9.0", | |
"ts-jest": "^24.1.0", | |
"typescript": "^3.6.4" | |
}, | |
"scripts": { | |
"test": "yarn lint:types && jest --no-cache", | |
"lint": "yarn lint:types && yarn lint:ci", | |
"lint:types": "yarn tsc --noEmit -p .", | |
"lint:ci": "eslint . --ext .tsx,.ts" | |
}, | |
"dependencies": {}, | |
"jest": { | |
"testEnvironment": "node" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks for this!
i had to add the execism devDependencies back in: