-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.5 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.5 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
93
94
95
96
97
98
99
100
{
"name": "routerworkers",
"version": "1.2.0",
"description": "Um roteador moderno e minimalista para Cloudflare Workers com TypeScript, response helpers, route groups, CORS e validação built-in.",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./types": {
"types": "./dist/types/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run clean && rollup -c && tsc --emitDeclarationOnly",
"dev": "rollup -c --watch",
"test": "jest",
"test:watch": "jest --watch",
"clean": "rm -rf dist && mkdir -p dist",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" \"test/**/*.ts\" --fix",
"prepublishOnly": "npm run test && npm run build",
"version": "npm run build",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/HelenoSalgado/routerworkers.git"
},
"keywords": [
"cloudflare",
"workers",
"router",
"middleware",
"typescript",
"rest-api",
"cors",
"validation",
"route-groups",
"response-helpers",
"edge-computing",
"serverless",
"cloudflare-workers",
"web-framework",
"http-router"
],
"author": "Heleno Salgado",
"license": "MIT",
"bugs": {
"url": "https://github.com/HelenoSalgado/routerworkers/issues"
},
"homepage": "https://github.com/HelenoSalgado/routerworkers#readme",
"engines": {
"node": ">=18.0.0"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/test"
],
"testMatch": [
"**/*.test.ts"
],
"moduleFileExtensions": [
"ts",
"js"
],
"collectCoverageFrom": [
"src/**/*.ts"
]
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20260214.0",
"@rollup/plugin-typescript": "^12.3.0",
"@types/jest": "^30.0.0",
"@typescript-eslint/eslint-plugin": "^8.55.0",
"@typescript-eslint/parser": "^8.55.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"jest": "^30.2.0",
"prettier": "^3.8.1",
"rollup": "^4.57.1",
"ts-jest": "^29.4.6",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.55.0",
"wrangler": "^4.65.0"
}
}