Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of cleaner ts-node setup with pta + TypeScript #157

Closed
3cp opened this issue Jun 24, 2022 · 0 comments
Closed

Example of cleaner ts-node setup with pta + TypeScript #157

3cp opened this issue Jun 24, 2022 · 0 comments

Comments

@3cp
Copy link
Contributor

3cp commented Jun 24, 2022

The ts-node setup for TypeScript seems working well, sourcemap also works when pointing code error.

"test": "NODE_OPTIONS='--loader ts-node/esm' c8 pta 'test/**/*.spec.ts'",

Note c8 is optional, but it works too.

https://github.com/3cp/scoped-eval/blob/adb2cd9ba4ec577865f08552e6fa33a9eddb9c72/package.json#L13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants