0.1.4 • Published 10 months ago
@jdecampos/spectacular v0.1.4
Getting started
Install:
npm install -g @jdecampos/spectacular
Set up:
spec init
Spectacular needs Node 20 or higher to run.
Creating a component
Create a component:
spec create path/to/component
Checking components
List all components:
spec list
Check all components:
spec <componentPattern>
Check a single component (includes detailed output):
spec <componentPattern>
A component pattern can be either the name of a component (with or without .comp) or a relative path from CWD to component folder (with or without .comp).
Generating code
spec gen <componentPattern>
REPL
spec repl <componentPattern>
If your component is called FooBar
, exports will be available under the FooBar
alias.
Debug
Run with SPECTACULAR_DEBUG=1 to see debug logs.