mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-09 05:23:26 +00:00
d5294203b7
For all instances where a `Contract` instance is serialized using `JSON.stringify`, the `logger` property was being stringified and written to logs and contract artifact files. Add Serializer class that allows ignoring of class properties during serialization when using `JSON.stringify`. NOTE: The `Serializer` relies on TypeScript’s decorators which are still listed as experimental (requiring the necessary compiler flag) despite being around for several years. Decorators are a stage 2 proposal for JavaScript.
18 lines
418 B
JSON
18 lines
418 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
// "checkJs": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"emitDeclarationOnly": true,
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"isolatedModules": true,
|
|
"moduleResolution": "Node",
|
|
"noImplicitAny": false,
|
|
"noImplicitThis": false,
|
|
"resolveJsonModule": true,
|
|
"strict": true,
|
|
"target": "ESNext"
|
|
}
|
|
} |