@teamscale/javascript-instrumenter 0.0.1-beta.5 → 0.0.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/package.json +1 -1
- package/dist/src/App.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -74,15 +74,15 @@ the file must contain source-map information, or the source-map file
|
|
|
74
74
|
must be placed along with the source file in the same directory.
|
|
75
75
|
|
|
76
76
|
```
|
|
77
|
-
yarn
|
|
77
|
+
yarn instrumenter --inplace ./the/path/to/the/file.js
|
|
78
78
|
```
|
|
79
79
|
|
|
80
80
|
```
|
|
81
|
-
yarn
|
|
81
|
+
yarn instrumenter --inplace ./the/path/to/the/file.js --source-map ./the/path/to/the/source.map
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
```
|
|
85
|
-
yarn
|
|
85
|
+
yarn instrumenter ./the/path/to/the/file.js --to ./the/file/path/to/write/to.js
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
### Integration with Testing Frameworks
|
package/dist/package.json
CHANGED
package/dist/src/App.js
CHANGED
|
@@ -63,7 +63,7 @@ class App {
|
|
|
63
63
|
});
|
|
64
64
|
parser.add_argument('-d', '--debug', { action: 'store_true' });
|
|
65
65
|
parser.add_argument('-o', '--to', {
|
|
66
|
-
help: '
|
|
66
|
+
help: 'Path (directory or file name) to write the instrumented version to.'
|
|
67
67
|
});
|
|
68
68
|
parser.add_argument('-s', '--source-map', {
|
|
69
69
|
help: 'External location of source-map files to consider.'
|
package/package.json
CHANGED