Files
shoelace/scripts/make-metadata.js

11 lines
342 B
JavaScript
Raw Permalink Normal View History

2021-02-26 09:09:13 -05:00
//
// This script runs the Custom Elements Manifest analyzer to generate custom-elements.json
2021-02-26 09:09:13 -05:00
//
2023-06-07 13:28:22 -04:00
import { execSync } from 'child_process';
import commandLineArgs from 'command-line-args';
2021-02-26 09:09:13 -05:00
const { outdir } = commandLineArgs({ name: 'outdir', type: String });
2023-06-07 16:14:32 -04:00
execSync(`cem analyze --litelement --outdir "${outdir}"`, { stdio: 'inherit' });