UNPKG

1.44 kBJSONView Raw
1{
2 "name": "@neoaren/comet",
3 "version": "1.0.3",
4 "description": "A powerful DX-first routing library for Cloudflare Workers.",
5 "scripts": {
6 "build": "rimraf dist && npm-run-all build:esm build:cjs build:dts",
7 "build:esm": "esbuild src/index.ts --bundle --outfile=dist/index.mjs --format=esm --target=es2022",
8 "build:cjs": "esbuild src/index.ts --bundle --outfile=dist/index.js --format=cjs --target=es2022",
9 "build:dts": "tsc",
10 "lint": "eslint . --ext ts",
11 "lint:fix": "eslint . --ext ts --fix"
12 },
13 "files": [
14 "dist"
15 ],
16 "main": "./dist/index.js",
17 "module": "./dist/index.mjs",
18 "types": "./dist/index.d.ts",
19 "exports": {
20 ".": {
21 "require": "./dist/index.js",
22 "import": "./dist/index.mjs",
23 "types": "./dist/index.d.ts"
24 }
25 },
26 "repository": "github:neoaren/comet",
27 "keywords": [
28 "cloudflare-workers",
29 "cloudflare",
30 "workers",
31 "routing",
32 "comet",
33 "router"
34 ],
35 "author": "NeoAren",
36 "license": "MIT",
37 "bugs": {
38 "url": "https://github.com/NeoAren/comet/issues"
39 },
40 "homepage": "https://github.com/NeoAren/comet#readme",
41 "dependencies": {
42 "hotscript": "^1.0.12",
43 "zod": "^3.21.4"
44 },
45 "devDependencies": {
46 "@cloudflare/workers-types": "^4.20230518.0",
47 "@lint-my-life/eslint-config-comet": "^0.2.2",
48 "esbuild": "^0.18.4",
49 "npm-run-all": "^4.1.5",
50 "rimraf": "^5.0.1",
51 "typescript": "^5.1.3"
52 }
53}