{"id":13818113,"url":"https://github.com/rousan/sl","last_synced_at":"2025-07-13T00:31:38.562Z","repository":{"id":65464994,"uuid":"121777995","full_name":"rousan/sl","owner":"rousan","description":":beers: An utility tool to list npm scripts from package.json file","archived":false,"fork":false,"pushed_at":"2018-12-06T11:15:51.000Z","size":792,"stargazers_count":24,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-19T16:43:25.386Z","etag":null,"topics":["cli","list","ls","nom-ls-scripts","npm-ls","npm-script-list","script","script-list","sl"],"latest_commit_sha":null,"homepage":"https://rousan.io/sl/","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/rousan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-16T17:14:48.000Z","updated_at":"2022-08-25T15:29:05.000Z","dependencies_parsed_at":"2023-01-24T17:25:20.882Z","dependency_job_id":null,"html_url":"https://github.com/rousan/sl","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rousan%2Fsl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rousan%2Fsl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rousan%2Fsl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rousan%2Fsl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rousan","download_url":"https://codeload.github.com/rousan/sl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225844842,"owners_count":17533160,"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","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":["cli","list","ls","nom-ls-scripts","npm-ls","npm-script-list","script","script-list","sl"],"created_at":"2024-08-04T07:00:32.791Z","updated_at":"2024-11-22T04:36:08.509Z","avatar_url":"https://github.com/rousan.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/rousan/sl/master/demo.gif\" alt=\"NPM Script listing Demo\"\u003e\n    \u003cbr\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n[![Build Status](https://travis-ci.org/rousan/sl.svg?branch=develop)](https://travis-ci.org/rousan/sl)\n[![NPM version](https://img.shields.io/npm/v/script-list.svg)](https://www.npmjs.com/package/script-list)\n[![Required Node version](https://img.shields.io/node/v/script-list.svg)](https://www.npmjs.com/package/script-list)\n[![NPM total downloads](https://img.shields.io/npm/dt/script-list.svg)](https://www.npmjs.com/package/script-list)\n[![Contributors](https://img.shields.io/github/contributors/rousan/sl.svg)](https://github.com/rousan/sl/graphs/contributors)\n[![License](https://img.shields.io/github/license/rousan/sl.svg)](https://github.com/rousan/sl/blob/master/LICENSE)\n\n# sl\n\nA tiny and useful tool to list all `npm` scripts from `package.json` file.\n\n\u003e sl = script list\n\n## Requirements\n\n`node` \u003e= `v4.0.0`\n\n**Note**: If `node` and `npm` are not installed, Install them from [here](https://nodejs.org/en/download/).\n\n## Installation\n\nInstall it from `npm`:\n\n```bash\n$ npm install -g script-list\n```\n\n## Usage\n\nAccess it from terminal or command prompt by `sl` command.\n\n```bash\n$ sl\n\n   MyAwesomeProject\n    - build           : babel src -d lib\n    - start           : node node_modules/react-native/local-cli/cli.js start\n    - test            : jest --coverage --verbose\n\n```\n\n### Script List for Multiple Projects\n\n```bash\n$ sl MyAwesomeProject MyAwesomeProject2\n\n   MyAwesomeProject\n    - build           : babel src -d lib\n    - start           : node node_modules/react-native/local-cli/cli.js start\n    - test            : jest --coverage --verbose\n\n\n   MyAwesomeProject2\n    - ng        : ng\n    - test:e2e  : ng e2e\n    - test:unit : ng test\n    - test      : ng e2e \u0026\u0026 ng test\n\n```\n\n### Use Globbing\n\n```bash\n$ sl **/*\n\n   MyProject1\n    - build           : babel src -d lib\n    - start           : node node_modules/react-native/local-cli/cli.js start\n    - test            : jest --coverage --verbose\n\n\n   MyProject2\n    - ng        : ng\n    - test:e2e  : ng e2e\n    - test:unit : ng test\n    - test      : ng e2e \u0026\u0026 ng test\n\n\n   MyProject3\n    - build : babel src -d lib\n    - start : node src/cli.js\n    - test  : mocha test\n\n```\n\n**Note**: It has built-in support for path `globbing` on `windows`.\n\n## Contributing\n\nYour PRs and stars are always welcome.\n\nCheckout the [CONTRIBUTING](https://github.com/rousan/sl/blob/master/CONTRIBUTING.md) guides.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frousan%2Fsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frousan%2Fsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frousan%2Fsl/lists"}