2021-02-26 14:09:13 +00:00
|
|
|
//
|
2021-06-24 22:24:54 +00:00
|
|
|
// This script runs the Custom Elements Manifest analyzer to generate custom-elements.json
|
2021-02-26 14:09:13 +00:00
|
|
|
//
|
2023-06-07 17:28:22 +00:00
|
|
|
|
2021-06-24 22:24:54 +00:00
|
|
|
import { execSync } from 'child_process';
|
2022-01-16 05:47:14 +00:00
|
|
|
import commandLineArgs from 'command-line-args';
|
2021-02-26 14:09:13 +00:00
|
|
|
|
2021-10-13 21:12:50 +00:00
|
|
|
const { outdir } = commandLineArgs({ name: 'outdir', type: String });
|
2021-03-03 21:56:42 +00:00
|
|
|
|
2023-06-07 20:14:32 +00:00
|
|
|
execSync(`cem analyze --litelement --outdir "${outdir}"`, { stdio: 'inherit' });
|