Make sure that yargs respects our option types and doesn't convert anything to a number automagically. Caused an issue when a device's serial number was all digits. No implicit arrays accepted either.

This commit is contained in:
Simo Kinnunen
2017-01-27 15:18:11 +09:00
parent 5e9aa427e9
commit f71ba00b8d

View File

@@ -25,6 +25,10 @@
"bin": {
"stf": "./bin/stf"
},
"yargs": {
"parse-numbers": false,
"duplicate-arguments-array": false
},
"scripts": {
"test": "gulp test",
"prepublish": "bower install && not-in-install && gulp build || in-install"