
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@exmg/exmg-cli
Advanced tools
Main aim is to process and generate files *.css and *.scss into *.ts
| alias | option | type | description |
|---|---|---|---|
| -s | --source | string | Template file to render sass into. |
| -w | --watch | boolean | Starts the renderer in watch mode, looks at the from the root of the project |
| -h | --help | boolean | Print this message. |
Process single file
exmg-cli -s ./test.scss
on the output file test-css.ts looks:
import {css} from 'lit-element';
export const style = css`a{color:red}`;
export default style;
Finally we can import to LitElement
import {LitElement} from 'lit-element';
import style from './test-css.js';
class MyElement extends LitElement {
static styles = [style];
}
Process folder
exmg-cli -s ./styles/*.scss
Run in watch mode
exmg-cli -w
FAQs
CLI - scripts used to process and build polymer / lit-element packages
We found that @exmg/exmg-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.