1.0.2 • Published 6 years ago
lwc-component v1.0.2
lwc-component
Use this to create a lwc component
npx lwc-componentThen answer a few questions...
namespace(skipped if there is only one foundsrc/modules/<ns>)- Add an empty namespace folder to get this option.
componentname (the point of this script)css(Yn)unitTests (yN)wdioTests (yN)
Done, you now have a nice empty component!
If a TypeScript
tsconfig.jsonis found we will assume.ts.
Features
- Default if only one namespace is found.
- Convert
foo-bartofooBar. - Validate component name.
- Validate component already exists.