Comparing version 1.0.19 to 1.0.20
{ | ||
"name": "deborator", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "a TypeScript decorator, to add console.log() to all methods and properties of a class.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -54,3 +54,3 @@ # deborator readme | ||
deborator options: | ||
deborator options: (all are optional) | ||
@@ -61,2 +61,4 @@ | option | description | example | | ||
|showReturnValues| Set this to true, if you also want to see return values in the log.| ```@deborator({showReturnValues: true }) ``` | | ||
|showProperties| Set this to true, to also log get/set properties. This can be noisy!. | ```@deborator({showProperties: true }) ``` | | ||
|decoratePrototype| Set this to true, to also log inherited methods (does not work with React components).| ```@deborator({decoratePrototype: true }) ``` | | ||
@@ -68,2 +70,3 @@ ### known issues | ||
- dist folder (npm package): the index.js does not work from one unit test project | ||
workaround: copy the source file 'deborator.ts' into the project | ||
@@ -70,0 +73,0 @@ ## running the demo app |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16967
124