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

@google/dscc-scripts

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google/dscc-scripts

Scripts for managing Data Studio developer projects.

  • 1.0.17
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
50
decreased by-26.47%
Maintainers
2
Weekly downloads
 
Created
Source

dscc-scripts

Scripts to simplify management of Data Studio developer features. The project is primarily used by dscc-gen.

Usage

To use these scripts, add @google/dscc-scripts to your package.json.

npm install -D @google/dscc-scripts

or

yarn add -D @google/dscc-scripts

This will make dscc-scripts available to your npm scripts.

The scripts require your package.json to have some configuration.

Viz

For viz, you need to add a dsccViz property.

{
    ...,
    "dsccViz": {
        "gcsDevBucket": "{{DEV_BUCKET}}",
        "gcsProdBucket": "{{PROD_BUCKET}}",
        "jsFile": "index.js",
        "jsonFile": "index.json",
        "cssFile": "index.css",
        "print": "printMessage.js"
    }
    ...
}

The following scripts are available for viz.

  • npm run dscc-scripts viz build -h
  • npm run dscc-scripts viz push -h
  • npm run dscc-scripts viz update_message -h
  • npm run dscc-scripts viz start -h

Connectors

For connectors, you need to add a dsccConnector property.

{
  ...,
  "dsccConnector": {
    "production": "{{PRODUCTION_DEPLOYMENT_ID}}",
    "latest": "{{LATEST_DEPLOYMENT_ID}}"
  },
  ...
}

The following scripts are available for connectors.

  • npm run dscc-scripts connector push_changes -h
  • npm run dscc-scripts connector watch_changes -h
  • npm run dscc-scripts connector open_script -h
  • npm run dscc-scripts connector try_production -h
  • npm run dscc-scripts connector try_latest -h
  • npm run dscc-scripts connector update_production -h
  • npm run dscc-scripts connector open_template -h

FAQs

Package last updated on 04 Aug 2020

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