mirror of
https://github.com/onsonr/nebula.git
synced 2025-03-10 17:29:11 +00:00
11 lines
342 B
JavaScript
11 lines
342 B
JavaScript
|
//
|
||
|
// This script runs the Custom Elements Manifest analyzer to generate custom-elements.json
|
||
|
//
|
||
|
|
||
|
import { execSync } from 'child_process';
|
||
|
import commandLineArgs from 'command-line-args';
|
||
|
|
||
|
const { outdir } = commandLineArgs({ name: 'outdir', type: String });
|
||
|
|
||
|
execSync(`cem analyze --litelement --outdir "${outdir}"`, { stdio: 'inherit' });
|