{"repo":"sezna/nps","free":true,"listed":false,"github":"https://github.com/sezna/nps","clone":"git clone https://github.com/sezna/nps.git","description":"NPM Package Scripts -- All the benefits of npm scripts without the cost of a bloated package.json and limits of json","language":"JavaScript","stars":1451,"topics":["npm","npm-scripts","cli","package-json","scripts","automation"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Sponsorship NPS is being sponsored by the following tool; please help to support us by taking a look and signing up for a free trial. nps All the benefits of npm scripts without the cost of a bloated package.json and limits of json nps is short for npm-package-scripts What happened to p-s? [![Build Status][build-badge]][build] [![Code Coverage][coverage-badge]][coverage] [![Dependencies][dependencyci-badge]][dependencyci] [![version][version-badge]][package] [![downloads][downloads-badge]][npm-stat] [![MIT License][license-badge]][license] [![PRs Welcome][prs-badge]][prs] [![Donate][donate-badge]][donate] [![Code of Conduct][coc-badge]][coc] [![Roadmap][roadmap-badge]][roadmap] [![Examples][examples-badge]][examples] [![nps friendly][nps-badge]](#badge) The problem Even though npm scripts have a ton of advantages ([learn more][scripts-advantages]), it can grow into an [unmaintainable mess][mess] in your package.json file. Part of the problem is we're configuring scripts in json which has fundamental issues (like no comments). This solution nps is a package that solves this problem by allowing you to move your scripts to a package-scripts.js file. Because this file is a JavaScript file, you can do a lot more with your project scripts. Here's an example of a package-scripts.js file: Or in case you prefer YAML, here's an example of how that would look in a package-scripts.yml file: To use nps , it's recommended that you either install it globally ( npm i -g nps ) or add ./node m","default_branch":null,"files":null,"tree":[],"storefront":"/r/sezna","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sezna/nps/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}