UNPKG

@nohost/server

Version:

Multi-user & multi-env web debugging proxy based on whistle

134 lines (133 loc) 3.74 kB
{ "name": "@nohost/server", "version": "1.5.20", "description": "Multi-user & multi-env web debugging proxy based on whistle", "main": "index.js", "bin": { "nohost": "./bin/nohost.js", "nohosts": "./bin/nohost.js", "n2": "./bin/nohost.js" }, "directories": { "lib": "lib" }, "port": 8080, "scripts": { "lint": "eslint *.js lib test src bin packages", "lintfix": "eslint --fix *.js lib test src bin packages", "dev": "rimraf public && webpack --config ./src/config/webpack.dev.js -w", "dist": "rimraf public && webpack --config ./src/config/webpack.prod.js", "server": "node bin/nohost run -b dev", "start": "nodemon --exec npm run server", "docs:dev": "vuepress dev docs", "docs:build": "vuepress build docs", "test": "jest --config=./test/jest/jest.config.js --coverage", "test:watch": "jest --config=./test/jest/jest.config.js --watchAll --coverage" }, "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "lint-staged": { "*.{js,jsx,tsx,ts}": [ "eslint --fix --quiet", "git add" ], "*.{css,scss,less,sss,json,html,yml,graphql,gql}": [ "prettier --write", "git add" ] }, "nodemonConfig": { "watch": [ "lib/" ] }, "registry": "https://registry.npmjs.org/@nohost/server", "repository": { "type": "git", "url": "git+https://github.com/Tencent/nohost.git" }, "keywords": [ "whistle", "multi-users", "nohost" ], "author": "avwu <avwu@qq.com>", "license": "MIT", "bugs": { "url": "https://github.com/Tencent/nohost/issues" }, "homepage": "https://github.com/Tencent/nohost#readme", "devDependencies": { "@commitlint/cli": "^12.0.1", "@commitlint/config-conventional": "^12.0.1", "antd": "^3.25.3", "babel-core": "^6.25.0", "babel-eslint": "10.0.3", "babel-loader": "^7.1.1", "babel-plugin-import": "^1.2.1", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-object-assign": "^6.22.0", "babel-preset-env": "^1.6.1", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "clipboard": "^2.0.6", "copy-webpack-plugin": "^5.0.4", "css-loader": "^3.5.1", "eslint": "^5.3.0", "eslint-config-imweb": "^0.2.19", "file-loader": "^4.2.0", "html-webpack-plugin": "^3.2.0", "husky": "^3.0.1", "jest": "^26.5.2", "jquery": "3.3.1", "kill-port": "^1.6.1", "less": "^3.10.3", "less-loader": "^5.0.0", "lint-staged": "^10.5.4", "nodemon": "^2.0.7", "prop-types": "^15.5.10", "qrcode": "^1.2.0", "query-string": "^5.0.1", "rc-tween-one": "^2.6.5", "react": "^16.2.0", "react-dom": "^16.2.0", "rimraf": "^3.0.0", "style-loader": "^1.0.0", "terser-webpack-plugin": "^2.2.1", "vuepress": "^1.2.0", "webpack": "^4.41.2", "webpack-cli": "^3.3.10", "webpack-merge": "^4.2.2", "whistle-editor": "^0.2.9" }, "dependencies": { "@nohost/router": "^1.1.0", "async-limiter": "^2.0.0", "basic-auth": "^2.0.1", "colors": "^1.4.0", "cookie": "^0.4.0", "crc32": "^0.2.2", "fs-extra": "^8.1.0", "koa": "^2.8.2", "koa-bodyparser": "^4.2.1", "koa-compress": "^4.0.1", "koa-onerror": "^4.1.0", "koa-router": "^12.0.1", "koa-static": "^5.0.0", "lodash.get": "^4.4.2", "lru-cache": "^5.1.1", "parseurl": "^1.3.3", "pfork": "^0.6.2", "simpleproto": "^1.1.0", "socketx": "^1.1.0", "starting": "^8.0.3", "whistle": "^2.9.84", "whistle.inspect": "^2.2.6", "whistle.script": "^1.2.10" } }