Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@aptoma/dredition-cli
Advanced tools
npm install @aptoma/dredition-cli
Can also be installed globally:
npm install -g @aptoma/dredition-cli
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.
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
DrEdition CLI
We found that @aptoma/dredition-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.