{"id":18974807,"url":"https://github.com/product-os/dreamsheets-scripts","last_synced_at":"2026-01-24T10:02:07.099Z","repository":{"id":38582132,"uuid":"479091478","full_name":"product-os/dreamsheets-scripts","owner":"product-os","description":"contains dreamsheet scripts used for scaffolded dreamsheets (or google app script spreadsheet) projects","archived":false,"fork":false,"pushed_at":"2026-01-23T12:00:27.000Z","size":795,"stargazers_count":2,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-23T14:04:06.305Z","etag":null,"topics":["google-apps-script","google-sheets"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/dreamsheets-scripts","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/product-os.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-04-07T17:49:34.000Z","updated_at":"2025-04-24T20:06:55.000Z","dependencies_parsed_at":"2025-04-21T08:15:45.217Z","dependency_job_id":null,"html_url":"https://github.com/product-os/dreamsheets-scripts","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/product-os/dreamsheets-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/product-os%2Fdreamsheets-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/product-os%2Fdreamsheets-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/product-os%2Fdreamsheets-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/product-os%2Fdreamsheets-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/product-os","download_url":"https://codeload.github.com/product-os/dreamsheets-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/product-os%2Fdreamsheets-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28724374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-apps-script","google-sheets"],"created_at":"2024-11-08T15:16:19.953Z","updated_at":"2026-01-24T10:02:07.083Z","avatar_url":"https://github.com/product-os.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dreamsheets Scripts\n\nThis package includes scripts and configuration used to scaffold and develop a _dreamsheet_ project/codebase using version controlled typescript. A \"dreamsheet\" is a google sheets project that has [google-app-script](https://developers.google.com/apps-script/guides/sheets) (typescript) code it relies upon to give the google spreadsheet \"super-powers\".\n\n## Installation\n\nYou can create/scaffold a brand *new* dreamsheets project by running\n\n```bash\nnpx dreamsheets-scripts@latest init name-of-new-project\n```\n\nAlternatively, you can use this tool in an existing project by navigating to the project and adding ```dreamsheets-scripts@lastest``` to your\n *devDependancies* and adding the following to your package.json's `\"scripts\"` section:\n\n```yaml\n    \"build\": \"dsx build\",\n    \"test\": \"dsx test\",\n    \"push\": \"dsx push \u003cyour gheet's scriptId here\u003e\",\n```\n\n## Usage\n\n### `dsx init \u003cnew-project-name-or-path\u003e`\nHydrates the specified directory (`new-project-name-or-path`) with a new, ready to develop dreamsheets project. It will copy template files to that directory, initialize it as git repo, and install dependencies. \n\n\n### `dsx test`\nRuns unit ~and integration~ testing. \n\u003e Integration tests will be implimented in a larger future release.\n\n\n### `dsx build`\nBundles the source into a single javascript file (as is necessary for google app script) it readiness for deployment. This bundle is located at `dist/index.bundle.js`.\n\n### `dsx push \u003cscript-id\u003e [--oauth-scopes=scope1,scop2]`\nDeploys the bundled script to the specified live (google sheet's) google app script. \nYou can alternatively specify the `script-id` via an environment variable (or a .env file) like:\n\n```\nDSX_SCRIPT_ID=myScriptId_123 dsx push\n```\n\n\u003e Before you run this `push` sub-command, please ensure that you are logged in via [clasp](https://github.com/google/clasp) by running (this only needs to be done once across all projects)\n\u003e ```npx @google/clasp login```\n\u003e Once logged in, your access tokens will be saved in `~/.clasprc.json` in your home directory.\n\n#### OAuth Scops option\nBy default, the only oAuth scope used for deployment is 'https://www.googleapis.com/auth/spreadsheets'. If you would like to change that scope or provide extra scopes, you can do so by adding a `--oauth-scopes` flag. This should be a comma separated list of urls, for example:\n\n```\n--oauth-scopes=https://www.googleapis.com/auth/spreadsheets.readonly,https://www.googleapis.com/auth/userinfo.email\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproduct-os%2Fdreamsheets-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproduct-os%2Fdreamsheets-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproduct-os%2Fdreamsheets-scripts/lists"}