Fixes #6068. **What** - Uses new Subscriber API. - Adds support for typescript files in Segment plugin. - Adds a peerDependency on @medusajs/medusa for the version that introduced new Subscriber API.
36 lines
831 B
JSON
36 lines
831 B
JSON
{
|
|
"compilerOptions": {
|
|
"lib": [
|
|
"es5",
|
|
"es6",
|
|
"es2019"
|
|
],
|
|
"target": "es5",
|
|
"jsx": "react-jsx" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,
|
|
"outDir": "./dist",
|
|
"esModuleInterop": true,
|
|
"declaration": true,
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"noImplicitReturns": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"noImplicitThis": true,
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"downlevelIteration": true // to use ES5 specific tooling
|
|
},
|
|
"include": ["src"],
|
|
"exclude": [
|
|
"dist",
|
|
"build",
|
|
"src/**/__tests__",
|
|
"src/**/__mocks__",
|
|
"src/**/__fixtures__",
|
|
"node_modules",
|
|
".eslintrc.js"
|
|
]
|
|
}
|