2 Star 1 Fork 1

Yourtion / node-erest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 2.14 KB
一键复制 编辑 原始数据 按行查看 历史
Yourtion 提交于 2020-05-21 12:03 . :arrow_up:Upgrading dependencies
{
"name": "erest",
"version": "1.11.7",
"description": "Easy to build api server depend on lei-web and express.",
"main": "dist/lib/index.js",
"typings": "dist/lib/index.d.ts",
"files": [
"dist/lib"
],
"scripts": {
"test": "npm run compile && jest",
"test:lib": "export ISLIB=1 && jest",
"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 && cat ./coverage/lcov.info | coveralls && 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 <yourtion@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/yourtion/node-erest/issues"
},
"homepage": "https://github.com/yourtion/node-erest#readme",
"dependencies": {
"@tuzhanai/schema-manager": "^1.1.2",
"@types/debug": "^4.1.5",
"@types/supertest": "^2.0.9",
"debug": "^4.0.0",
"path-to-regexp": "^6.1.0"
},
"peerDependencies": {
"@types/node": "*"
},
"devDependencies": {
"@leizm/web": "^2.7.0",
"@types/express": "^4.17.6",
"@types/jest": "^25.2.3",
"coveralls": "^3.1.0",
"express": "^4.17.1",
"jest": "^26.0.1",
"prettier": "^2.0.5",
"supertest": "^4.0.2",
"ts-jest": "^26.0.0",
"ts-node": "^8.10.1",
"typescript": "^3.9.3"
},
"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"
]
}
}
TypeScript
1
https://gitee.com/yourtion/node-erest.git
git@gitee.com:yourtion/node-erest.git
yourtion
node-erest
node-erest
master

搜索帮助