butlerx
7 years ago
committed by
cbutler
No known key found for this signature in database
GPG Key ID: 9EB3D625BD14DDEC
7 changed files with
47 additions and
48 deletions
-
app.js
-
bin/index.js
-
cli.mjs
-
index.js
-
package.json
-
wetty.mjs
-
yarn.lock
|
|
@ -1,3 +0,0 @@ |
|
|
|
#! /usr/bin/env node
|
|
|
|
require('@std/esm'); |
|
|
|
require('./cli'); |
|
|
@ -0,0 +1,3 @@ |
|
|
|
#! /usr/bin/env node
|
|
|
|
require = require('@std/esm')(module); // eslint-disable-line no-global-assign
|
|
|
|
require('../cli.mjs'); |
|
|
@ -1,2 +1,2 @@ |
|
|
|
require('@std/esm'); |
|
|
|
module.exports = require('./wetty').default; |
|
|
|
require = require('@std/esm')(module); // eslint-disable-line no-global-assign
|
|
|
|
module.exports = require('./wetty.mjs').default; |
|
|
|
|
|
@ -1,8 +1,46 @@ |
|
|
|
{ |
|
|
|
"name": "wetty.js", |
|
|
|
"version": "0.5.0", |
|
|
|
"description": "Wetty = Web + tty. Terminal access in browser over http/https ", |
|
|
|
"homepage": "https://github.com/butlerx/wetty", |
|
|
|
"repository": { |
|
|
|
"type": "git", |
|
|
|
"url": "git://github.com/butlerx/wetty.git" |
|
|
|
}, |
|
|
|
"author": "Cian Butler <butlerx@notthe.cloud> (https://github.com/butlerx)", |
|
|
|
"license": "MIT", |
|
|
|
"bugs": { |
|
|
|
"url": "https://github.com/butlerx/wetty/issues" |
|
|
|
}, |
|
|
|
"main": "index.js", |
|
|
|
"files": [ |
|
|
|
"bin", |
|
|
|
"public", |
|
|
|
"app.js", |
|
|
|
"cli.js", |
|
|
|
"wetty.js" |
|
|
|
], |
|
|
|
"scripts": { |
|
|
|
"lint": "eslint .", |
|
|
|
"lint:fix": "eslint . --fix", |
|
|
|
"build": "gulp", |
|
|
|
"start": "node bin", |
|
|
|
"commit": "git add public", |
|
|
|
"fix": "eslint . --fix" |
|
|
|
}, |
|
|
|
"bin": { |
|
|
|
"wetty": "./bin/index.js" |
|
|
|
}, |
|
|
|
"pre-commit": [ |
|
|
|
"fix", |
|
|
|
"commit" |
|
|
|
], |
|
|
|
"preferGlobal": "true", |
|
|
|
"@std/esm": { |
|
|
|
"cjs": "true" |
|
|
|
}, |
|
|
|
"dependencies": { |
|
|
|
"@std/esm": "^0.2.2", |
|
|
|
"@std/esm": "^0.12.1", |
|
|
|
"express": "^4.15.3", |
|
|
|
"fs-extra": "^4.0.1", |
|
|
|
"optimist": "^0.6", |
|
|
@ -37,44 +75,5 @@ |
|
|
|
"gulp-concat": "^2.6.1", |
|
|
|
"gulp-minify": "^1.0.0", |
|
|
|
"gulp-shell": "^0.6.3" |
|
|
|
}, |
|
|
|
"pre-commit": [ |
|
|
|
"fix", |
|
|
|
"commit" |
|
|
|
], |
|
|
|
"description": "Wetty = Web + tty. Terminal access in browser over http/https ", |
|
|
|
"repository": { |
|
|
|
"type": "git", |
|
|
|
"url": "git://github.com/butlerx/wetty.git" |
|
|
|
}, |
|
|
|
"author": "Cian Butler <butlerx@notthe.cloud> (https://github.com/butlerx)", |
|
|
|
"license": "MIT", |
|
|
|
"bugs": { |
|
|
|
"url": "https://github.com/butlerx/wetty/issues" |
|
|
|
}, |
|
|
|
"homepage": "https://github.com/butlerx/wetty", |
|
|
|
"preferGlobal": "true", |
|
|
|
"main": "index.js", |
|
|
|
"bin": { |
|
|
|
"wetty": "./app.js" |
|
|
|
}, |
|
|
|
"@std/esm": { |
|
|
|
"esm": "js", |
|
|
|
"cjs": "true" |
|
|
|
}, |
|
|
|
"files": [ |
|
|
|
"bin", |
|
|
|
"public", |
|
|
|
"app.js", |
|
|
|
"cli.js", |
|
|
|
"wetty.js" |
|
|
|
], |
|
|
|
"scripts": { |
|
|
|
"lint": "eslint .", |
|
|
|
"lint:fix": "eslint . --fix", |
|
|
|
"build": "gulp", |
|
|
|
"start": "node app.js", |
|
|
|
"commit": "git add public", |
|
|
|
"fix": "eslint . --fix" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
@ -2,9 +2,9 @@ |
|
|
|
# yarn lockfile v1 |
|
|
|
|
|
|
|
|
|
|
|
"@std/esm@^0.2.2": |
|
|
|
version "0.2.2" |
|
|
|
resolved "https://registry.yarnpkg.com/@std/esm/-/esm-0.2.2.tgz#8d3fdacae23015eae01db739a9f76d7cd1ab617d" |
|
|
|
"@std/esm@^0.12.1": |
|
|
|
version "0.12.1" |
|
|
|
resolved "https://registry.yarnpkg.com/@std/esm/-/esm-0.12.1.tgz#d07b7c5e2701beade1e7db74b95484f5d91c46bf" |
|
|
|
|
|
|
|
abbrev@1: |
|
|
|
version "1.1.0" |
|
|
|