GitXplorerGitXplorer
i

set-package-script

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
45c139199a7f011903804594d7b155d6a63b7458

Add binlink

iiansu committed 2 years ago
Verified
7fc82963492fa96af79a5d461c3e4b91032d4b41

Rename to set-package-script

iiansu committed 2 years ago
Verified
130bb9b9a53ab01dbdf6142fc4569d8c6d70c745

Initial commit

iiansu committed 2 years ago

README

The README file for this repository.

set-package-script

A replacement for the deprecated npm set-script command

Usage

npx set-package-script <script-name> [command]

Examples

Add a build script

npx set-package-script build "tsc -p tsconfig.json"

Delete a prepare script

npx set-package-script prepare

If you don't provide a command and there's an existing script defined it will be removed