mirror of
https://github.com/codex-team/editor.js
synced 2026-03-17 08:05:47 +01:00
35 lines
1,016 B
JSON
35 lines
1,016 B
JSON
{
|
|
"compilerOptions" : {
|
|
"strict": true,
|
|
"sourceMap": true,
|
|
"target": "es2017",
|
|
"declaration": false,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler", // This resolution strategy handles package.json exports and is suitable for modern bundlers
|
|
"lib": ["dom", "es2017", "es2018", "es2019"],
|
|
|
|
// allows to import .json files for i18n
|
|
"resolveJsonModule": true,
|
|
|
|
// allows to omit export default in .json files
|
|
"allowSyntheticDefaultImports": true,
|
|
"experimentalDecorators": true,
|
|
"baseUrl": "./",
|
|
"paths": {
|
|
"@/types": [ "./types/" ],
|
|
"@/types/*": [ "./types/*" ],
|
|
"@editorjs/editorjs": [ "./types" ],
|
|
"@editorjs/editorjs/*": [ "./types/*" ],
|
|
},
|
|
|
|
// @todo move to cypress/tsconfig.json when cypress will support overriding tsconfig path
|
|
// @see https://github.com/cypress-io/cypress/issues/23045
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true
|
|
},
|
|
"include": [
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
"**/*.json"
|
|
]
|
|
}
|