Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aptoma/dredition-cli

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aptoma/dredition-cli

DrEdition CLI

  • 1.5.3
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-87.8%
Maintainers
1
Weekly downloads
 
Created
Source

DrEdition CLI

Installation

npm install @aptoma/dredition-cli

Can also be installed globally:

npm install -g @aptoma/dredition-cli

Usage

DrEdition layoutpreview

Live reload

dredition layoutpreview live-reload

Should be called at the root of your assets directory. An example of an expected structure looks like this:

.
├── stylesheets
    ├── **/*.scss
│   └── styles.scss
└── templates
    └── components
        ├── headline
        │   ├── headline.html
        │   └── headline.scss
        ├── intro
        │   ├── intro.html
        │   └── intro.scss
        └── componentName
            ├── componentName.html
            └── componentName.scss

The first time the script is run, you will be asked to configure everything. The config file will be default be stored in ~/.aptoma/dredition/config.json.

If you are a developer and want to run live-reload with a dev environment, you'll have to edit config.json manually. The automated setup will only work for production use.

Example custom setups of config.json

Override urls for all configs:

{
    "default": {
        "frontendUrl": "https://{account}.dredition-dev.aptoma.no",
        "apiUrl": "https://dredition-api-dev.aptoma.no",
        "assetBuilderUrl": "https://asset-builder.dev.ecs.aws.aptoma.no"
    },
    "broadcast": {
        "account": "broadcast",
        "apikey": "secret"
    },
    "aptoma": {
        "account": "aptoma",
        "apikey": "secret"
    }
}

Override urls for only a specific config:

{
    "broadcast": {
        "account": "broadcast",
        "apikey": "secret",
    },
    "broadcast-dev": {
        "account": "broadcast",
        "apikey": "secret",
        "frontendUrl": "https://{account}.dredition-dev.aptoma.no",
        "apiUrl": "https://dredition-api-dev.aptoma.no",
        "assetBuilderUrl": "https://asset-builder.dev.ecs.aws.aptoma.no"
    }
}

FAQs

Package last updated on 14 Sep 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc