{"id":15365948,"url":"https://github.com/andywer/npm-launch","last_synced_at":"2025-09-14T04:27:16.877Z","repository":{"id":65369851,"uuid":"63020164","full_name":"andywer/npm-launch","owner":"andywer","description":"🚀 Minimalistic task runner on steroids!","archived":false,"fork":false,"pushed_at":"2016-10-17T07:03:32.000Z","size":3899,"stargazers_count":38,"open_issues_count":6,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-23T15:10:46.368Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andywer.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}},"created_at":"2016-07-10T22:00:38.000Z","updated_at":"2023-12-27T03:20:08.000Z","dependencies_parsed_at":"2023-01-19T20:51:00.148Z","dependency_job_id":null,"html_url":"https://github.com/andywer/npm-launch","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/andywer/npm-launch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fnpm-launch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fnpm-launch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fnpm-launch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fnpm-launch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andywer","download_url":"https://codeload.github.com/andywer/npm-launch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andywer%2Fnpm-launch/sbom","scorecard":{"id":195484,"data":{"date":"2025-08-11","repo":{"name":"github.com/andywer/npm-launch","commit":"a192fe3696cba23c14854d43a1550f81f1dff356"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T21:45:14.374Z","repository_id":65369851,"created_at":"2025-08-16T21:45:14.374Z","updated_at":"2025-08-16T21:45:14.374Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275062618,"owners_count":25398884,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-01T13:16:46.079Z","updated_at":"2025-09-14T04:27:16.835Z","avatar_url":"https://github.com/andywer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 npm-launch\n\n[![Build Status](https://travis-ci.org/andywer/npm-launch.svg?branch=master)](https://travis-ci.org/andywer/npm-launch)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n[![NPM Version](https://img.shields.io/npm/v/npm-launch.svg)](https://www.npmjs.com/package/npm-launch)\n\nMinimalistic task runner on steroids. Write scripts using JSON5 or ES6 JavaScript modules.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Screencast\" src=\"./doc/npm-launch.gif?raw=true\" /\u003e\n\u003c/p\u003e\n\n- Small, fast, supports JSON5 and JS code\n- Clean and tidy: Show command's output only in case of error\n- Fully compatible with package.json `scripts`: You can just copy \u0026 paste them to the launch file\n- Runs locally installed commands from `node_modules/.bin` like package.json `scripts`\n- Uses [Listr](https://github.com/SamVerschueren/listr) to provide beautiful console output\n- Runs on node.js 4+\n\n\n## Installation\n\n```sh\nnpm install --save-dev npm-launch\n```\n\n## Why?\n\n- Because `scripts` in package.json are a mess\n- When they fail, `npm` prints ~25 lines of non-helpful disclaimers\n- If a script called by another script fails, you already got 50 lines to scroll\n- `gulp` \u0026 `grunt` instead need 100 lines of code for things that take less than five lines on the command line\n- Your terminal is constantly flooded with output everytime you run a task\n\nBut no more! Let's take the sample launch file from the screencast before and use\nit in our `package.json`:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Screencast\" src=\"./doc/npm-launch-package.json.gif?raw=true\" /\u003e\n\u003c/p\u003e\n\nHere we go, everything is clean and concise now!\n\n**A clean and short package.json. Commented tasks. Concurrency support out-of-the-box.**\n\n\n## Usage (JSON)\n\n```js\n// File: launch.scripts.json5\n{\n  build: \"webpack -c webpack-config.production.js\",\n  test:  \"run-parallel lint mocha\",\n\n  //////////\n  // Hooks:\n\n  prepush: \"run build \u0026\u0026 run test\",\n\n  //////////////////\n  // Testing tasks:\n\n  lint:  \"standard lib/**/*.js\",\n  mocha: \"mocha\"\n}\n```\n\n```sh\n$ launch build test     # run tasks \"build\" and \"test\"\n# or\n$ launch -f path/to/launch-file build test\n```\n\nFeatures:\n- Comments in JSON\n- Run tasks concurrently by using `run-parallel \u003ctask1\u003e \u003ctask2\u003e ...` (or short `run-p`)\n- Nicer syntax, easy to read and write\n- Very short and concise\n- Fully compatible with standard JSON\n\n\n## Usage (ES6 module)\n\n```js\n// File: launch.scripts.js\n\nconst shell = module.parent.exports.shell\nconst delay = 1500\n\n// Define a task \"npmPruneList\"\nexport async function npmPruneList () {\n  // Execute `npm prune`\n  await shell('npm prune')\n  // Then execute `npm list`\n  await shell('npm list')\n}\n\n// Define a task \"wasteSomeTime\"\nexport function wasteSomeTime () {\n  return new Promise((resolve) =\u003e {\n    setTimeout(() =\u003e resolve(), delay)\n  })\n}\n\n// Define a task \"default\" that will just run \"npmPruneList\" \u0026 \"wasteSomeTime\" sequentially\nexport default [ npmPruneList, wasteSomeTime ]\n```\n\nFeatures:\n- Completely transparent API: No need to import anything, just export\n- ES6 module syntax is available out-of-the-box\n- `async`/`await` are available out-of-the-box\n- The additional power you need to solve complex tasks\n\n\n## CLI\n\nRun the tasks `build` and `test`:\n```sh\nlaunch build test\n```\n\nRun the `default` task:\n```sh\nlaunch\n```\n\nList all available tasks:\n```sh\nlaunch --list\n```\n\nPrint CLI usage help text:\n```sh\nlaunch --help\n```\n\n\n## Tips\n\n- If you do not provide a filename for a launch file it will look for a file named `launch.scripts.js`/`launch.scripts.json`/`launch.scripts.json5`\n- Auto-camelcasing: Instead of `$ launch myTask` you can also run `$ launch my-task`\n\n\n## Minor known limitations\n\nThese limitations only apply if your launch file contains custom JS code rather than JSON tasks.\n\n#### No checkmark list for tasks being called by code\n\nTasks called by code are tracked and displayed, but not as a checkmark list,\nbut just as a hint which one is currently run. It's simple: In this case we\ncannot create a list of subtasks beforehand, since there is no way to know\nwhich sub-tasks the function is going to call.\n\n#### console.log() in tasks may disturb the output\n\nIf you call `console.log()` (or similar) in your launch file then the checkmark\nlist will probably be corrupted.\n\n\n## Changelog\n\nSee [CHANGELOG.md](./CHANGELOG.md) or [Releases Page](https://github.com/andywer/npm-launch/releases) for more details.\n\n\n## License\n\nThis library is released under the terms of the MIT license. See [LICENSE](./LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandywer%2Fnpm-launch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandywer%2Fnpm-launch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandywer%2Fnpm-launch/lists"}