diff --git a/bin/generate.js b/bin/generate.js index 94b4c093..424ba61e 100755 --- a/bin/generate.js +++ b/bin/generate.js @@ -62,7 +62,7 @@ const parseArgs = () => { const test = args['--test']; const name = args['--name'] || 'component'; - const npm = args['--npm'] || '@alaskaairux/'; + const npm = args['--npm'] || '@alaskaairux'; const namespace = args['--namespace'] || 'auro'; const dir = path.resolve( args['--dir'] || `./${lowerKebabCase(namespace)}-${lowerKebabCase(name)}` diff --git a/docs/api.md b/docs/api.md index 84ad0ed8..25d203a3 100644 --- a/docs/api.md +++ b/docs/api.md @@ -6,7 +6,7 @@ | -t, --test | no | Test repo generation without installing dependencies | | -n, --name | yes | Name of the web component you wish to build. `auro` is assumed, so only the proper name, e.g. `button` or `checkbox` | | -N, --namespace | no | Choose custom namespace of the web component if other than Auro | -| -P, --npm | no | Choose npm namespace if other than `@alaskaairux`. Be sure add back-slash, e.g. `@mynpm/` | +| -P, --npm | no | Choose npm namespace if other than `@alaskaairux` | | -d, --dir | no | Directory where the new custom element files will be created. If a directory is not provided, one using the `--name` variable will be created | | -v, --version | no | Ouput the version number | | --verbose | no | Verbose command line feedback |