Skip to content

Commit

Permalink
fix: address issue with readme and additional backslashes
Browse files Browse the repository at this point in the history
  • Loading branch information
blackfalcon committed Aug 17, 2020
1 parent 2985f35 commit dd7012d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

0 comments on commit dd7012d

Please sign in to comment.