-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.19 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.19 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
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
{
"name": "@coveros/codeveros-ms",
"version": "0.6.0-dev",
"description": "Very opinionated node.js microservice mini-framework",
"main": "lib/index.js",
"engines": {
"node": ">=22.0.0"
},
"types": "lib/index.d.ts",
"scripts": {
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"build": "npx tsc",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Coveros/codeveros.git"
},
"author": "Coveros, Inc.",
"license": "ISC",
"bugs": {
"url": "https://github.com/Coveros/codeveros/issues"
},
"homepage": "https://github.com/Coveros/codeveros/libraries/codeveros-ms#readme",
"files": [
"lib/**/*"
],
"dependencies": {
"@koa/cors": "^5.0.0",
"dotenv": "^17.2.1",
"js-yaml": "^4.1.0",
"koa": "^3.0.0",
"koa-better-router": "^2.1.1",
"koa-body": "^6.0.1",
"mongoose": "^8.16.5",
"winston": "^3.17.0"
},
"devDependencies": {
"@eslint/js": "^9.32.0",
"@types/jest": "^30.0.0",
"@types/js-yaml": "^4.0.9",
"@types/koa": "^2.15.0",
"@types/koa__cors": "^5.0.0",
"@types/node": "^22.16.5",
"@typescript-eslint/eslint-plugin": "^8.38.0",
"@typescript-eslint/parser": "^8.38.0",
"eslint": "^9.32.0",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"jest": "^30.0.5",
"lint-staged": "^16.1.2",
"mongodb-memory-server": "^10.1.4",
"prettier": "^3.6.2",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.38.0"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"prettier": {
"printWidth": 120,
"trailingComma": "all",
"singleQuote": true
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint ./src --fix",
"git add"
]
}
}