-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.19 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
{
"name": "@apeleghq/routemate",
"version": "1.0.7",
"description": "Routemate is a JavaScript router with support for various environments such as Node.js, Deno and Cloudflare Workers, with more to come.",
"type": "module",
"dist": "dist/index.cjs",
"main": "dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
".": {
"types": "./dist/index.d.ts",
"deno": {
"types": "./dist/index.d.ts",
"import": "./dist/deno.mjs"
},
"cloudflare-workers": {
"types": "./dist/index.d.ts",
"import": "./dist/cloudflare-workers.mjs",
"require": "./dist/cloudflare-workers.cjs"
},
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./cloudflare-workers": {
"types": "./dist/index.d.ts",
"import": "./dist/cloudflare-workers.mjs",
"require": "./dist/cloudflare-workers.cjs"
}
},
"files": [
"dist/**/*"
],
"devDependencies": {
"@azure/functions": "^4.5.1",
"@cloudflare/workers-types": "^4.20240909.0",
"@types/aws-lambda": "^8.10.145",
"@types/node": "^22.5.4",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"deno-types": "^1.25.0",
"esbuild": "^0.23.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"firebase-functions": "^6.0.0",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
},
"peerDependencies": {
"firebase-functions": "^6.0.0"
},
"peerDependenciesMeta": {
"firebase-functions": {
"optional": true
}
},
"scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"build": "tsc -b --emitDeclarationOnly --declarationMap --declaration && node esbuild.mjs",
"test": "node --loader ts-node/esm src/common/router.spec.ts && node --loader ts-node/esm src/listeners/node/index.spec.ts",
"prepack": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run lint && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ApelegHQ/routemate.git"
},
"author": "Apeleg Limited",
"license": "ISC"
}