Created
October 26, 2023 21:24
-
-
Save mcoimbra/b616dcb002c0e4ac2d473cd5e33b1c02 to your computer and use it in GitHub Desktop.
Package cross-os: Spawn is called (#45) and it is possible to manipulate the binary and arguments passed to it via the local pacakge.json.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 'use strict' | |
| const pkg = require('cross-os'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "dependencies": { | |
| "cross-os": "^1.5.0" | |
| }, | |
| "scripts" : { | |
| "touch": { | |
| "linux": "touch" | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment