@google/dscc-scripts
Scripts for managing Data Studio developer projects.
Last updated 20 days ago by google-wombot .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @google/dscc-scripts 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.15                                ...           latest (20 days ago)

17 Versions

  • 1.0.15                                ...           20 days ago
  • 1.0.14                                ...           a month ago
  • 1.0.13                                ...           3 months ago
  • 1.0.12                                ...           3 months ago
  • 1.0.11                                ...           3 months ago
  • 1.1.0                                ...           3 months ago
  • 1.0.10                                ...           4 months ago
  • 1.0.9                                ...           7 months ago
  • 1.0.8                                ...           8 months ago
  • 1.0.7                                ...           8 months ago
  • 1.0.6                                ...           8 months ago
  • 1.0.5                                ...           9 months ago
  • 1.0.4                                ...           10 months ago
  • 1.0.3                                ...           10 months ago
  • 1.0.2                                ...           10 months ago
  • 1.0.1                                ...           10 months ago
  • 1.0.0                                ...           10 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 50
Dependencies (17)
Dev Dependencies (20)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |