-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.27 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 2.27 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
89
90
91
92
{
"name": "node-rest-server",
"version": "5.0.0",
"description": "Configurable node rest server",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.cjs",
"default": "./lib/index.mjs"
}
},
"types": "./lib/index.d.ts",
"type": "module",
"main": "./lib/index.cjs",
"module": "./lib/index.mjs",
"scripts": {
"start": "concurrently npm:dev:*",
"start:example": "npm --prefix ./examples start",
"local": "",
"build": "vite build",
"dev:watch": "vite build --watch",
"dev:server": "tsx dev/index.ts",
"lint": "npm run lint:check",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"format": "npm run format:fix",
"format:check": "prettier . --check",
"format:fix": "prettier . --write",
"pre:commit": "lint-staged",
"prepare": "husky && npm --prefix ./examples install",
"everything": "npm run build && npm run test:coverage && npm run lint && npm run format",
"test": "vitest",
"test:coverage": "vitest run --coverage"
},
"lint-staged": {
"src/**/*.{ts,tsx,js,jsx,json,md}": [
"npm run format:fix --",
"npm run lint:fix --"
]
},
"repository": {
"type": "git",
"url": "[email protected]:nishant-labs/node-rest-server.git"
},
"files": [
"lib"
],
"keywords": [
"node rest",
"rest-server",
"express rest wrapper",
"configuration only rest server"
],
"author": "Nishant Kumar Sinha",
"license": "MIT",
"bugs": {
"url": "https://github.com/nishant-labs/node-rest-server/issues"
},
"homepage": "https://github.com/nishant-labs/node-rest-server#readme",
"dependencies": {
"chalk": "5.6.2",
"cors": "2.8.6",
"date-fns": "4.1.0",
"errorhandler": "1.5.2",
"express": "5.2.1",
"fastest-validator": "1.19.1",
"pino": "10.3.1",
"pino-http": "11.0.0",
"pino-pretty": "13.1.3"
},
"devDependencies": {
"@eslint/js": "9.39.4",
"@types/cors": "2.8.19",
"@types/errorhandler": "1.5.3",
"@types/express": "5.0.6",
"@types/node": "24.12.4",
"@vitest/coverage-v8": "4.1.6",
"concurrently": "9.2.1",
"eslint": "9.39.4",
"husky": "9.1.7",
"lint-staged": "17.0.5",
"pactum": "3.9.1",
"prettier": "3.8.3",
"tsx": "4.22.3",
"typescript": "6.0.3",
"typescript-eslint": "8.59.4",
"vite": "8.0.13",
"vite-plugin-dts": "5.0.1",
"vitest": "4.1.6"
}
}