You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
207 lines
5.9 KiB
207 lines
5.9 KiB
{
|
|
"name": "wetty",
|
|
"version": "2.1.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",
|
|
"exports": "./build/server.js",
|
|
"files": [
|
|
"build/"
|
|
],
|
|
"scripts": {
|
|
"build": "snowpack build",
|
|
"dev": "NODE_ENV=development concurrently --kill-others --success first \"snowpack dev\" \"nodemon .\"",
|
|
"prepublishOnly": "snowpack build",
|
|
"lint": "eslint src",
|
|
"start": "NODE_ENV=production node .",
|
|
"contributor": "all-contributors",
|
|
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' mocha -r ts-node/register src/**/*.spec.ts",
|
|
"clean": "rm -rf build yarn-error.log",
|
|
"docker-entrypoint": "ssh-keyscan -H wetty-ssh >> ~/.ssh/known_hosts; yarn start"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/butlerx/wetty.git"
|
|
},
|
|
"author": {
|
|
"name": "Cian Butler",
|
|
"email": "butlerx@notthe.cloud",
|
|
"url": "cianbutler.ie"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/butlerx/wetty/issues"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts}": [
|
|
"eslint --fix"
|
|
],
|
|
"*.{json,scss,md}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0.0"
|
|
},
|
|
"nodemonConfig": {
|
|
"ignore": [
|
|
"*.scss",
|
|
"src/*",
|
|
"*.json"
|
|
]
|
|
},
|
|
"snowpack": {
|
|
"packageOptions": {
|
|
"sourceMap": true,
|
|
"installTypes": true
|
|
},
|
|
"mount": {
|
|
"src/client": "/client",
|
|
"src/assets": "/assets"
|
|
},
|
|
"exclude": [
|
|
"src/server/**/*.ts",
|
|
"src/client/**/*.spec.ts",
|
|
"src/*.ts"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@snowpack/plugin-run-script",
|
|
{
|
|
"cmd": "tsc -p tsconfig.browser.json --noEmit",
|
|
"watch": "$1 --watch"
|
|
}
|
|
],
|
|
[
|
|
"@snowpack/plugin-run-script",
|
|
{
|
|
"cmd": "sass src/assets/scss:build/assets/css --load-path=node_modules -s compressed --no-source-map",
|
|
"watch": "$1 --watch"
|
|
}
|
|
],
|
|
[
|
|
"@snowpack/plugin-run-script",
|
|
{
|
|
"cmd": "tsc -p tsconfig.node.json",
|
|
"watch": "$1 --watch"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.25",
|
|
"@fortawesome/free-solid-svg-icons": "^5.11.2",
|
|
"@snowpack/plugin-run-script": "^2.3.0",
|
|
"compression": "^1.7.4",
|
|
"etag": "^1.8.1",
|
|
"express": "^4.17.1",
|
|
"express-winston": "^4.0.5",
|
|
"file-type": "^12.3.0",
|
|
"find-up": "^5.0.0",
|
|
"fresh": "^0.5.2",
|
|
"fs-extra": "^9.0.1",
|
|
"helmet": "^4.1.0",
|
|
"json5": "^2.1.3",
|
|
"lodash": "^4.17.20",
|
|
"node-pty": "^0.10.0",
|
|
"parseurl": "^1.3.3",
|
|
"sass": "^1.26.10",
|
|
"socket.io": "^2.3.0",
|
|
"socket.io-client": "^2.3.0",
|
|
"toastify-js": "^1.9.1",
|
|
"winston": "^3.3.3",
|
|
"xterm": "^4.8.1",
|
|
"xterm-addon-fit": "^0.4.0",
|
|
"xterm-addon-web-links": "^0.4.0",
|
|
"yargs": "^15.4.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.2.12",
|
|
"@types/compression": "^1.7.0",
|
|
"@types/etag": "^1.8.0",
|
|
"@types/express": "^4.17.8",
|
|
"@types/fresh": "^0.5.0",
|
|
"@types/fs-extra": "^9.0.1",
|
|
"@types/helmet": "^0.0.48",
|
|
"@types/jsdom": "^12.2.4",
|
|
"@types/lodash": "^4.14.161",
|
|
"@types/mocha": "^8.0.3",
|
|
"@types/morgan": "^1.7.37",
|
|
"@types/node": "^14.6.3",
|
|
"@types/parseurl": "^1.3.1",
|
|
"@types/sinon": "^7.5.1",
|
|
"@types/socket.io": "^2.1.11",
|
|
"@types/socket.io-client": "^1.4.33",
|
|
"@types/toastify-js": "^1.9.2",
|
|
"@types/winston": "^2.4.4",
|
|
"@types/yargs": "^15.0.5",
|
|
"@typescript-eslint/eslint-plugin": "^4.29.3",
|
|
"@typescript-eslint/parser": "^4.29.3",
|
|
"all-contributors-cli": "^6.17.2",
|
|
"chai": "^4.2.0",
|
|
"concurrently": "^5.2.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"eslint-import-resolver-typescript": "^2.4.0",
|
|
"eslint-plugin-import": "^2.22.1",
|
|
"eslint-plugin-mocha": "^8.0.0",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"git-authors-cli": "^1.0.28",
|
|
"husky": "^4.2.5",
|
|
"jsdom": "^15.2.1",
|
|
"lint-staged": "^10.2.13",
|
|
"mocha": "^8.1.3",
|
|
"nodemon": "^2.0.4",
|
|
"prettier": "^2.3.2",
|
|
"sinon": "^7.5.0",
|
|
"snowpack": "^3.8.7",
|
|
"ts-node": "^9.0.0",
|
|
"typescript": "^4.3.5"
|
|
},
|
|
"contributors": [
|
|
"Krishna Srinivas <krishna.srinivas@gmail.com>",
|
|
"Boyan Rabchev <boyan@rabchev.com>",
|
|
"Antonio Calatrava <antonio@antoniocalatrava.com>",
|
|
"Strubbl <github@linux4tw.de>",
|
|
"Oleg Kurapov <ok@2sheds.ru>",
|
|
"Anthony Jund <antonyjund@gmail.com>",
|
|
"Luca Milanesio <luca.milanesio@gmail.com>",
|
|
"nosemeocurrenada <nosemeocurrenada93@gmail.com>",
|
|
"Henri <henri.ducrocq@gmail.com>",
|
|
"Imuli <i@imu.li>",
|
|
"Koushik M.L.N <mln02koushik@gmail.com>",
|
|
"cbutler <cbutler@demonware.net>",
|
|
"mirtouf <mirtouf@gmail.com>",
|
|
"Denis Kramer <d.kramer@soton.ac.uk>",
|
|
"Jarrett Gilliam <jarrettgilliam@gmail.com>",
|
|
"Mihir Kumar <mihirpandey.13@gmail.com>",
|
|
"Nathan LeClaire <nathan.leclaire@docker.com>",
|
|
"Andreas Kloeckner <inform@tiker.net>",
|
|
"Ben Letchford <contact@benl.com.au>",
|
|
"Bertrand Roussel <broussel@sierrawireless.com>",
|
|
"Farhan Khan <khanzf@gmail.com>",
|
|
"Felix Bartels <felix@host-consultants.de>",
|
|
"Felix Pojtinger <felix@pojtinger.com>",
|
|
"James Turnbull <james@lovedthanlost.net>",
|
|
"Josh Samuelson <js@puppetlabs.com>",
|
|
"Jurre Vriesen <jurrevriesen@gmail.com>",
|
|
"Kasper Holbek Jensen <kholbekj@gmail.com>",
|
|
"Krzysztof Suszyński <krzysztof.suszynski@wavesoftware.pl>",
|
|
"Matthew Piercey <piercey.matthew@gmail.com>",
|
|
"Neale Pickett <neale@woozle.org>",
|
|
"Robert <robert@n5qm.com>",
|
|
"Soura Dutta <duttasoura@gmail.com>",
|
|
"Tri Nguyen <tri@tridnguyen.com>",
|
|
"harryleesan <harry.lee.san.temp@gmail.com>"
|
|
]
|
|
}
|
|
|