This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Description
I´m trying to load the config from an external file to get the --tags and some others flags:
package.json:
"axeconfig": "node axe/index.js"
"accessibility:local": "axe npm run axeconfig -- http://localhost:3000"
axe/index.js is a js file that returns a string like "--timeout=120 --save testlog.json --tags (a list of tags)" . I just want to concatenate this string to the script and run it, but it take the string as another URL argument and ends up testing npm, run and axeconfig as URLs.
How can I execute the axeconfig script and add the string to run axe with parameters?
Thanks!