cncjs / cncjs-pendant-ps3

Dual Shock / PS3 Bluetooth Remote Pendant for CNCjs
MIT License
23 stars 24 forks source link

Publish Package to NPM #1

Closed cheton closed 7 years ago

cheton commented 7 years ago

This is just a friendly reminder that you can publish your package to npm once it's ready for production use. I just created a package.json file, and added several command-line options as well:

$ cncjs-pendant-ps3 --help

  Usage: cncjs-pendant-ps3 -p <port> [options]

  Options:

    -h, --help                  output usage information
    -V, --version               output the version number
    -l, --list                  list available ports then exit
    -p, --port <port>           path or name of serial port (default: /dev/ttyUSB0)
    -b, --baudrate <baudrate>   baud rate (default: 115200)
    --socket-address <address>  socket address or hostname (default: localhost)
    --socket-port <port>        socket port (default: 8000)
    --controller-type <type>    controller type: Grbl|Smoothie|TinyG (default: Grbl)

$ cncjs-pendant-ps3 --list
/dev/cu.Bluetooth-Incoming-Port
/dev/cu.iPhoneLAVA-WirelessiAP
/dev/cu.usbmodemFA131
AustinSaintAubin commented 7 years ago

Awesome. Will try to get production version ready and published this week.

On Feb 12, 2017, at 09:43, Cheton Wu notifications@github.com wrote:

This is just a friendly reminder that you can publish your package to npm once it's ready for production use. I just created a package.json file, and added several command-line options as well:

$ cncjs-pendant-ps3 --help

Usage: cncjs-pendant-ps3 -p [options]

Options:

-h, --help                  output usage information
-V, --version               output the version number
-l, --list                  list available ports then exit
-p, --port <port>           path or name of serial port (default: /dev/ttyUSB0)
-b, --baudrate <baudrate>   baud rate (default: 115200)
--socket-address <address>  socket address or hostname (default: localhost)
--socket-port <port>        socket port (default: 8000)
--controller-type <type>    controller type: Grbl|Smoothie|TinyG (default: Grbl)

$ cncjs-pendant-ps3 --list /dev/cu.Bluetooth-Incoming-Port /dev/cu.iPhoneLAVA-WirelessiAP /dev/cu.usbmodemFA131 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

AustinSaintAubin commented 7 years ago
AustinSaintAubin commented 7 years ago

Working on publishing today.

AustinSaintAubin commented 7 years ago

published.