diff options
author | Yash-Singh1 <saiansh2525@gmail.com> | 2020-11-25 01:24:24 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2020-12-04 22:22:59 +0300 |
commit | 6b15751106beb99234aa4bf39ae05cf40076d42a (patch) | |
tree | 5c224bef8de7a145bf184005fe7b51175f1dc938 /tap-snapshots | |
parent | bc655b17e841eabc67a66c236dfb0aa9ca0317f1 (diff) |
feat: add npm set-script
Introduces the set-script command. It accepts two arguments,
the script name and the command
ref: https://github.com/npm/rfcs/blob/latest/accepted/0016-set-script-command.md
PR-URL: https://github.com/npm/cli/pull/2237
Credit: @Yash-Singh1
Close: #2237
Reviewed-by: @ruyadorno
Diffstat (limited to 'tap-snapshots')
-rw-r--r-- | tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js b/tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js index 36066b576..68f0d8328 100644 --- a/tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js +++ b/tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js @@ -162,6 +162,7 @@ Object { "start", "restart", "run-script", + "set-script", "completion", "doctor", "exec", |