0.0.0 • Published 2 years ago
@neodx/config v0.0.0
@neodx/config
Contains all shared configuration
yarn add -D @neodx/config@"workspace:*"
Typescript
TODO Describe some included rules
{
"extends": "@neodx/config/tsconfig.json",
"compilerOptions": {
"baseUrl": "src"
},
"includes": ["src"]
}
Jest
yarn add -D jest @types/jest
// jest.config.cjs
module.exports = {
preset: '@neodx/config/jest'
};
// package.json
{
scripts: {
// TODO Add explanation for vm modules
test: "NODE_OPTIONS='--experimental-vm-modules' jest"
}
}
Included features
- TypeScript support via
@swc/jest
transformation - TypeScript paths support
- Enhanced modules resolving
- "exports" field support
.css/.scss/.sass/.less/.styl
proxying- typescript modules resolving (provides paths support)
0.0.0
2 years ago