Browse Source

Merge pull request #278 from butlerx/bin

re-Add build command to package.json
pull/280/head v2.0.1
Cian Butler 4 years ago
committed by GitHub
parent
commit
d2a42d245a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      package.json
  2. 4
      src/main.ts

7
package.json

@ -1,12 +1,15 @@
{
"name": "wetty",
"version": "2.0.0",
"version": "2.0.1",
"description": "WeTTY = Web + TTY. Terminal access in browser over http/https",
"homepage": "https://github.com/butlerx/wetty",
"license": "MIT",
"type": "module",
"bin": {
"wetty": "./build/main.js"
},
"main": "./build/main.js",
"module": "./build/server.js",
"exports": "./build/server.js",
"files": [
"build/"
],

4
src/main.ts

@ -1,6 +1,10 @@
#!/usr/bin/env node
/**
* Create WeTTY server
* @module WeTTy
*
* This is the cli Interface for wetty.
*/
import yargs from 'yargs';
import { logger } from './shared/logger.js';

Loading…
Cancel
Save