-
Notifications
You must be signed in to change notification settings - Fork 161
/
package.json
133 lines (133 loc) · 3.65 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"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 <[email protected]>",
"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"
}
}