-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 2.28 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
{
"name": "erest",
"version": "1.11.7",
"description": "Easy to build api server depend on @leizm/web and express.",
"main": "dist/lib/index.js",
"typings": "dist/lib/index.d.ts",
"files": [
"dist/lib"
],
"scripts": {
"doc": "pnpm typedoc --out docs/ src/lib/",
"dev": "export ISLIB=1 && jest --verbose --watch",
"test": "npm run compile && jest",
"test:lib": "export ISLIB=1 && jest --logHeapUsage",
"test:cov": "npm run test:lib -- --coverage",
"tag": "git tag v`node -p 'require(\"./package\").version'`",
"format": "prettier --write \"src/**/*.ts\"",
"format-dist": "prettier --single-quote --write \"dist/**/*.{js,ts}\"",
"clean": "rm -rf dist",
"compile": "npm run clean && tsc",
"prepublishOnly": "npm run format && npm run test:cov && coveralls < coverage/lcov.info && npm test && npm run format-dist",
"postpublish": "npm run tag && git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yourtion/node-erest.git"
},
"keywords": [
"rest",
"api",
"express",
"@leizm/web",
"api-doc"
],
"author": "Yourtion Guo <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/yourtion/node-erest/issues"
},
"homepage": "https://github.com/yourtion/node-erest#readme",
"dependencies": {
"@tuzhanai/schema-manager": "^1.3.0",
"debug": "^4.3.4",
"path-to-regexp": "^6.2.1"
},
"peerDependencies": {
"@types/node": "*"
},
"devDependencies": {
"@leizm/web": "^2.7.3",
"@types/debug": "^4.1.12",
"@types/express": "^4.17.21",
"@types/jest": "^27.5.2",
"@types/supertest": "^2.0.16",
"coveralls": "^3.1.1",
"express": "^4.18.2",
"jest": "^27.5.1",
"prettier": "^2.8.8",
"supertest": "^6.3.4",
"ts-jest": "^27.1.5",
"ts-node": "^10.9.2",
"typedoc": "^0.25.7",
"typescript": "^4"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "./src/test/test",
"collectCoverageFrom": [
"src/lib/**/*.ts"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 95,
"lines": 80,
"statements": 80
}
},
"moduleFileExtensions": [
"ts",
"js",
"json"
]
}
}