-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.64 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.64 KB
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
{
"name": "@blueshit/request",
"version": "1.3.1",
"description": "轻量级的http客户端,飞一般的感觉",
"main": "dist/request.js",
"typings": "dist/request.d.ts",
"files": [
"dist/request.js",
"dist/request.d.ts"
],
"scripts": {
"test": "mocha --require ts-node/register --exit \"src/test/*test*.ts\"",
"test-cov": "nyc --reporter=lcov npm test && nyc report",
"server": "ts-node src/test/start_server",
"benchmark": "ts-node src/test/benchmark",
"benchmark:wrk": "wrk -c 500 -d 1m http://127.0.0.1:34569/text",
"tag": "git tag v`node -p 'require(\"./package\").version'`",
"format": "prettier --write 'src/**/*.ts'",
"prepublishOnly": "npm test && rm -rf dist && tsc",
"postpublish": "npm run tag && git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/npmshit/request.git"
},
"keywords": [
"http",
"request"
],
"author": "Zongmin Lei <leizongmin@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/npmshit/request/issues"
},
"homepage": "https://github.com/npmshit/request#readme",
"peerDependencies": {
"@types/node": "*"
},
"devDependencies": {
"@leizm/benchmark": "^2.0.1",
"@types/axios": "^0.14.0",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"@types/request": "^2.48.5",
"axios": "^0.21.1",
"chai": "^4.2.0",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"request": "^2.88.2",
"ts-node": "^9.1.1",
"typescript": "^4.1.3"
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts"
]
}
}