Protractor option does not work in package.json script
问题 The following command works as expected: protractor --cucumberOpts.tags='not @tag1' conf.js Now I want to add this command as a script to package.json like this: "scripts": { "my-script": "protractor --cucumberOpts.tags='not @tag1' conf.js" } Running the command npm run my-script gives me the following error: Usage: protractor [configFile] [options] configFile defaults to protractor.conf.js The [options] object will override values from the config file. See the reference config for a full