Socket
Book a DemoInstallSign in
Socket

@neodx/config

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neodx/config

Contains all shared configuration

latest
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

@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)

FAQs

Package last updated on 23 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts