{"id":15608640,"url":"https://github.com/hypercubed/npsl","last_synced_at":"2025-03-29T14:25:28.850Z","repository":{"id":66193305,"uuid":"71626426","full_name":"Hypercubed/npsl","owner":"Hypercubed","description":"npm-package-scripts-listr","archived":false,"fork":false,"pushed_at":"2016-10-24T01:19:06.000Z","size":67,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T15:25:13.458Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hypercubed.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":"2016-10-22T08:22:23.000Z","updated_at":"2018-06-16T16:51:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4f4ca60-08e9-4ba9-8d2f-e43f45904104","html_url":"https://github.com/Hypercubed/npsl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypercubed%2Fnpsl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypercubed%2Fnpsl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypercubed%2Fnpsl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hypercubed%2Fnpsl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hypercubed","download_url":"https://codeload.github.com/Hypercubed/npsl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246194910,"owners_count":20738761,"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":[],"created_at":"2024-10-03T05:21:44.133Z","updated_at":"2025-03-29T14:25:28.828Z","avatar_url":"https://github.com/Hypercubed.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npsl (working title)\n\n\u003e aka npm-package-scripts-listr or npsl for short\n\n**experiment**\n\n## Features\n\n* Read package-scripts from js, json, or yml file.\n* Excellent terminal output\n* Can run nested commands\n\n## install\n\n**Not yet published to npm**\n\n## Usage\n\n```\nUsage\n $ npsl \u003ctask\u003e [more tasks]\n\nOptions:\n\n  -h, --help\n  -V, --version\n  -p, --path \u003cfilepath\u003e     Path to scripts file (defaults to nearest package-scripts.{js,json,yml}).\n  -c, --concurrent          Run tasks concurrently.\n  -r, --renderer            Renderer that should be used (default, verbose, silent)\n```\n\n### Example package-scripts.yml\n\n```\ntest:\n  default:\n  - xo\n  - jest\n  update: jest -u\npublish:\n  - del node_modules\n  - yarn install\n  - xo\n  - jest\n  - git push --tags\nlint: xo\n```\n\n### Examples commands\n\n```sh\nnpsl xo jest --concurrent # Runs xo and jest concurrently\nnpsl test # Runs the test script in package-scripts.{js,json,yml}\nnpsl pub # Runs the pub* script in package-scripts.{js,json,yml}\n```\n\n[![asciicast](https://asciinema.org/a/57j6u7jaaj49vrczghkxrqe00.png)](https://asciinema.org/a/57j6u7jaaj49vrczghkxrqe00)\n\n# Inspiration\n\nThis package was inspired by [sindresorhus/np](https://github.com/sindresorhus/np) and heavily influenced by [kentcdodds/p-s](https://github.com/kentcdodds/p-s).\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypercubed%2Fnpsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypercubed%2Fnpsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypercubed%2Fnpsl/lists"}