File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,16 +56,16 @@ Given the above data file here are the entries in `package.json` to run them:
56
56
57
57
```
58
58
"scripts": {
59
- "copy": "node ./node_modules/typhonjs-npm-scripts-runner/scripts/runner.js .scriptdata copy.files.scripts",
60
- "runmult": "node ./node_modules/typhonjs-npm-scripts-runner/scripts/runner.js .scriptdata run.scripts"
59
+ "copy": "node ./node_modules/typhonjs-npm-scripts-runner/scripts/runner.js .scriptdata copy.files.scripts '<optional custom message>' ",
60
+ "runmult": "node ./node_modules/typhonjs-npm-scripts-runner/scripts/runner.js .scriptdata run.scripts '<optional custom message>' "
61
61
},
62
62
```
63
63
64
- For programmatic usage see the following example:
64
+ For programmatic usage see the following example; you may include a 3rd string parameter for a custom message :
65
65
```
66
66
var runner = require('typhonjs-npm-scripts-runner');
67
67
68
- runner.run('.scriptdata', 'copy.files.scripts');
68
+ runner.run('.scriptdata', 'copy.files.scripts', '<optional custom message>' );
69
69
```
70
70
71
71
Please note that you can add comments to the script JSON data file.
You can’t perform that action at this time.
0 commit comments