mirror of
https://github.com/codex-team/editor.js
synced 2024-06-08 08:52:15 +02:00
a88dc8e30b
* refactoring(modules): sanitizer module is util now * Remove Sanitizer from Editor modules signature * Bind context to config composition method * Make sanitizer singletone * Make sanitizer a module instead of class * Fix * Add test cases for default values * Fix inline tools default value * Move inline tools and block tunes to BlockTool instance * Fixes after review & some test cases for sanitisation * Upgrade test case Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
17 lines
481 B
JSON
17 lines
481 B
JSON
{
|
|
"compilerOptions" : {
|
|
"sourceMap": true,
|
|
"target": "es2017",
|
|
"declaration": false,
|
|
"moduleResolution": "node", // This resolution strategy attempts to mimic the Node.js module resolution mechanism at runtime
|
|
"lib": ["dom", "es2017", "es2018"],
|
|
|
|
// allows to import .json files for i18n
|
|
"resolveJsonModule": true,
|
|
|
|
// allows to omit export default in .json files
|
|
"allowSyntheticDefaultImports": true,
|
|
"experimentalDecorators": true
|
|
}
|
|
}
|