Files
shoelace/scripts/make-metadata.js
Cory LaViska bfa1499889 less noise
2021-09-07 13:13:02 -04:00

13 lines
360 B
JavaScript

//
// This script runs the Custom Elements Manifest analyzer to generate custom-elements.json
//
import chalk from 'chalk';
import mkdirp from 'mkdirp';
import { execSync } from 'child_process';
mkdirp.sync('./dist');
// Run the analyzer
console.log('Generating component metadata');
execSync('cem analyze --litelement --outdir dist', { stdio: 'inherit' });