🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

euphoria-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

euphoria-cli

Euphoria CSS command line tool

latest
Source
npmnpm
Version
2.7.0
Version published
Maintainers
1
Created
Source

Euphoria CLI

The Euphoria CLI tool

IN DEVELOPMENT!

Please see Euphoria repo for more information on what Euphoria is.

euphoria-cli (version: 1.0.0)

  -p, --print      Print the CSS to stdout instead of writing to a file. Useful for debugging or using with build tools.
  -c, --config     Relative or absolute path to config file. Default is `euphoria.config.js` or `.euphoriarc`.
  -o, --output     Relative or absolute path to output generated CSS file.
  -s, --silent     Be silent with output.
  -v, --verbose    Be verbose in the output.
  -h, --help       Print out this help message.

Config File

A sample euphoria.config.js file:

module.exports = {
  // Location to put compiled CSS
  outputPath: 'dist/euphoria.css',

  // Euphoria config object, passed directly to Euphoria.
  options: {
    colors: 'red',
  },

  // Custom CSS rules to add to outputted CSS.
  customRules: [
    {
      short: 'btn',
      verbose: 'button',
      properties: {
        outline: '5px solid red',
      },
      inherits: ['px-md', 'py-sm', 'bg-primary', 'white'],
    },
  ],
}

Todo

  • Add -w, --watch task
    • For now, use watchy and run watchy -w euphoria.config.js -- euphoria

FAQs

Package last updated on 15 Jan 2018

Did you know?

Socket

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.

Install

Related posts