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

api-npm-scripts

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-npm-scripts

Module for npm deployment scripts

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

api-npm-scripts

api managements utilities

Basic info

All commands are intended to be run from the root directory of your api project (the one containing the package.json).

Config Managements

Commands for managing app configuration.

Commands

Update Config

Pushes a config for the given env using the current version.

# set the config for the dev env
api-npm-scripts config update -s dev
Get Config

Retrieves the configuration for a given environment using the current version.

# get the config for the given env
api-npm-scripts config get -s dev
List Configs

List available configs for all versions

api-npm-scripts config list
Delete Config

Delete a config for a given environment using the current version.

# delete the config for the dev env
api-npm-scripts config delete -s dev

Api Management

Commands for managing the api

Commands

Update Base Mappings

Updates base path mappings for a given environment using the current version and claudia info from the config.

Requirements

  • domain property in package.json set to api domain name
  • claudia api configuration (either in claudia.json or config.json)
api-npm-scripts api update-base-mappings

FAQs

Package last updated on 08 Nov 2019

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