-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
102 lines (102 loc) · 2.96 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
{
"name": "@leizm/web",
"version": "2.7.3",
"description": "现代的 Web 中间件基础框架,完美支持 TypeScript,构建可维护的大型 Web 项目。",
"main": "dist/lib/index.js",
"typings": "dist/lib/index.d.ts",
"files": [
"dist/lib"
],
"scripts": {
"test": "npm run format && mocha --require ts-node/register --exit \"src/test/**/*.ts\"",
"test-file": "mocha --require ts-node/register --exit",
"test-core": "mocha --require ts-node/register --exit \"src/test/core/**/*.ts\"",
"test-component": "mocha --require ts-node/register --exit \"src/test/component/**/*.ts\"",
"test-cov": "nyc --reporter=lcov mocha --require ts-node/register --exit \"src/test/**/*.ts\" && nyc report",
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"clean": "rm -rf dist",
"compile": "npm run clean && tsc",
"prepublish": "npm run test && npm run compile",
"format": "prettier --write \"src/**/*.ts\"",
"docs": "typedoc --out ./docs --tsconfig tsconfig.typedoc.json",
"update-wiki": "cd wiki && git pull && node update_index.js && git add . && git commit -m \"update\" && git push"
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/leizongmin/leizm-web.git"
},
"keywords": [
"connect",
"express",
"koa",
"restify",
"micro",
"http",
"rawnode",
"hapi",
"feathers",
"sails",
"restful"
],
"author": "Zongmin Lei <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/leizongmin/leizm-web/issues"
},
"homepage": "https://github.com/leizongmin/leizm-web#readme",
"dependencies": {
"@types/body-parser": "^1.19.1",
"@types/busboy": "^0.2.4",
"@types/cookie": "^0.4.1",
"@types/cookie-parser": "^1.4.1",
"@types/cookie-signature": "^1.0.1",
"@types/mime": "^2.0.1",
"@types/qs": "^6.9.7",
"@types/send": "^0.17.1",
"body-parser": "^1.19.0",
"busboy": "^0.3.1",
"cookie": "^0.4.1",
"cookie-parser": "^1.4.5",
"cookie-signature": "^1.1.0",
"mime": "^2.4.4",
"path-to-regexp": "^6.2.0",
"qs": "^6.9.4",
"send": "^0.17.1",
"serve-static": "^1.14.1"
},
"devDependencies": {
"@types/chai": "^4.2.21",
"@types/connect": "^3.4.35",
"@types/ejs": "^3.0.7",
"@types/ioredis": "^4.26.6",
"@types/mocha": "^8.2.3",
"@types/node": "^16.3.3",
"@types/nunjucks": "^3.1.5",
"@types/pug": "^2.0.5",
"@types/redis": "^2.8.31",
"@types/supertest": "^2.0.8",
"chai": "^4.2.0",
"connect": "^3.7.0",
"coveralls": "^3.1.1",
"ejs": "^3.0.2",
"ioredis": "^4.27.6",
"mocha": "^9.0.2",
"nunjucks": "^3.2.0",
"nyc": "^15.0.1",
"prettier": "^2.3.2",
"pug": "^3.0.0",
"redis": "^3.1.2",
"supertest": "^6.0.1",
"ts-node": "^10.1.0",
"typedoc": "^0.21.4",
"typescript": "^4.3.5"
}
}