@zipbul/cors 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@zipbul/cors",
3
+ "version": "0.0.1",
4
+ "description": "Framework-agnostic CORS library for standard Web APIs (Request/Response)",
5
+ "license": "MIT",
6
+ "author": "Junhyung Park (https://github.com/parkrevil)",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/zipbul/toolkit",
10
+ "directory": "packages/cors"
11
+ },
12
+ "bugs": "https://github.com/zipbul/toolkit/issues",
13
+ "homepage": "https://github.com/zipbul/toolkit/tree/main/packages/cors#readme",
14
+ "keywords": ["cors", "http", "fetch", "web-api", "bun", "middleware", "typescript", "zipbul"],
15
+ "engines": {
16
+ "bun": ">=1.0.0"
17
+ },
18
+ "type": "module",
19
+ "module": "dist/index.js",
20
+ "types": "dist/index.d.ts",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.ts",
24
+ "import": "./dist/index.js"
25
+ }
26
+ },
27
+ "files": ["dist"],
28
+ "scripts": {
29
+ "build": "bun build index.ts --outdir dist --target bun --format esm --packages external --sourcemap=linked && tsc -p tsconfig.build.json",
30
+ "test": "bun test",
31
+ "coverage": "bun test --coverage"
32
+ },
33
+ "dependencies": {
34
+ "@zipbul/result": "workspace:*",
35
+ "@zipbul/shared": "workspace:*",
36
+ "safe-regex2": "^5.0.0"
37
+ },
38
+ "devDependencies": {}
39
+ }