{"id":19384687,"url":"https://github.com/brunos3d/npm-scripts-shell-param-expansion","last_synced_at":"2026-04-08T21:31:42.628Z","repository":{"id":101228514,"uuid":"513246097","full_name":"brunos3d/npm-scripts-shell-param-expansion","owner":"brunos3d","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-12T18:46:48.000Z","size":2858,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T17:27:19.108Z","etag":null,"topics":["arg","bash","npm","param","scripts","shell"],"latest_commit_sha":null,"homepage":"https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brunos3d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-07-12T18:09:00.000Z","updated_at":"2022-07-12T18:39:38.000Z","dependencies_parsed_at":"2023-03-13T15:28:16.958Z","dependency_job_id":null,"html_url":"https://github.com/brunos3d/npm-scripts-shell-param-expansion","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brunos3d/npm-scripts-shell-param-expansion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunos3d%2Fnpm-scripts-shell-param-expansion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunos3d%2Fnpm-scripts-shell-param-expansion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunos3d%2Fnpm-scripts-shell-param-expansion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunos3d%2Fnpm-scripts-shell-param-expansion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brunos3d","download_url":"https://codeload.github.com/brunos3d/npm-scripts-shell-param-expansion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunos3d%2Fnpm-scripts-shell-param-expansion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31575444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["arg","bash","npm","param","scripts","shell"],"created_at":"2024-11-10T09:32:04.041Z","updated_at":"2026-04-08T21:31:42.613Z","avatar_url":"https://github.com/brunos3d.png","language":"JavaScript","readme":"# npm-scripts-shell-param-expansion\n\nThis is just a study repo about npm scripts and bash parameter expansion, it contains some examples of using env-vars as scripts, it also includes concurrently to run all scripts.\n\nI created it to understand some behaviours of npm scripts and use it with Nx monorepos and heroku\n\n## Start Commands\n\nRunning only backend\n\n```bash\nPROJECT_NAME=backend npm run start\n```\n\nRunning only frontend\n\n```bash\nPROJECT_NAME=frontend npm run start\n```\n\nRunning all apps\n\n```bash\nnpm run start\n```\n\n## Build Commands\n\nBuilding backend\n\n```bash\nPROJECT_NAME=backend npm run build\n```\n\nBuilding frontend\n\n```bash\nPROJECT_NAME=frontend npm run build\n```\n\nBuilding all apps\n\n```bash\nnpm run build\n```\n\n## Refs\n\nhttps://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html\nhttps://stackoverflow.com/questions/2013547/assigning-default-values-to-shell-variables-with-a-single-command-in-bash\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunos3d%2Fnpm-scripts-shell-param-expansion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunos3d%2Fnpm-scripts-shell-param-expansion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunos3d%2Fnpm-scripts-shell-param-expansion/lists"}