mirror of https://github.com/Chocobozzz/PeerTube
Add node shebang
parent
9aff314023
commit
8d5ffb0169
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@peertube/peertube-runner",
|
"name": "@peertube/peertube-runner",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"main": "dist/peertube-runner.js",
|
"main": "dist/peertube-runner.js",
|
||||||
"bin": "dist/peertube-runner.js",
|
"bin": "dist/peertube-runner.js",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env node
|
||||||
|
|
||||||
import { Command, InvalidArgumentError } from '@commander-js/extra-typings'
|
import { Command, InvalidArgumentError } from '@commander-js/extra-typings'
|
||||||
import { listRegistered, registerRunner, unregisterRunner } from './register'
|
import { listRegistered, registerRunner, unregisterRunner } from './register'
|
||||||
import { RunnerServer } from './server'
|
import { RunnerServer } from './server'
|
||||||
|
|
Loading…
Reference in New Issue