11{
2- "name" : " @elysiajs/cors" ,
3- "version" : " 1.0.5 " ,
4- "description" : " Plugin for Elysia that for Cross Origin Requests (CORs)" ,
5- "author" : {
6- "name" : " saltyAom" ,
7- "url" : " https://github.com/SaltyAom" ,
8- "email" : " saltyaom@gmail.com"
9- },
10- "repository" : {
11- "type" : " git" ,
12- "url" : " https://github.com/elysiajs/elysia-cors"
13- },
14- "main" : " ./dist/cjs/index.js" ,
15- "module" : " ./dist/index.js " ,
16- "types" : " ./dist/index.d.ts" ,
17- "exports" : {
18- "bun " : " ./dist/index.js " ,
19- "node" : " ./dist/cjs/index.js " ,
20- "require " : " ./dist/cjs/ index.js " ,
21- "import" : " ./dist/index.js " ,
22- "default " : " ./dist/cjs/index.js" ,
23- "types" : " ./dist/index.d.ts "
24- },
25- "homepage" : " https://github.com/elysiajs/elysia-cors" ,
26- "keywords" : [
27- " elysia" ,
28- " cors"
29- ],
30- "license" : " MIT" ,
31- "scripts" : {
32- "dev" : " bun run --watch example/index.ts" ,
33- "test" : " bun test && npm run test:node" ,
34- "test:node" : " npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js" ,
35- "build" : " rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json " ,
36- "release" : " npm run build && npm run test && npm publish --access public"
37- },
38- "devDependencies" : {
39- "@types/bun" : " ^1.0.4 " ,
40- "@types/node" : " ^18.11.7 " ,
41- "elysia" : " 1.0.27 " ,
42- "eslint" : " ^8.26.0" ,
43- "rimraf " : " ^3.0.2 " ,
44- "typescript" : " ^5.4.3 "
45- },
46- "peerDependencies" : {
47- "elysia" : " >= 1.0.2 "
48- }
49- }
2+ "name" : " @elysiajs/cors" ,
3+ "version" : " 1.1.0 " ,
4+ "description" : " Plugin for Elysia that for Cross Origin Requests (CORs)" ,
5+ "author" : {
6+ "name" : " saltyAom" ,
7+ "url" : " https://github.com/SaltyAom" ,
8+ "email" : " saltyaom@gmail.com"
9+ },
10+ "repository" : {
11+ "type" : " git" ,
12+ "url" : " https://github.com/elysiajs/elysia-cors"
13+ },
14+ "main" : " ./dist/cjs/index.js" ,
15+ "module" : " ./dist/index.mjs " ,
16+ "types" : " ./dist/index.d.ts" ,
17+ "exports" : {
18+ "./package.json " : " ./package.json " ,
19+ "." : {
20+ "types " : " ./dist/index.d.ts " ,
21+ "import" : " ./dist/index.mjs " ,
22+ "require " : " ./dist/cjs/index.js"
23+ }
24+ },
25+ "homepage" : " https://github.com/elysiajs/elysia-cors" ,
26+ "keywords" : [
27+ " elysia" ,
28+ " cors"
29+ ],
30+ "license" : " MIT" ,
31+ "scripts" : {
32+ "dev" : " bun run --watch example/index.ts" ,
33+ "test" : " bun test && npm run test:node" ,
34+ "test:node" : " npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js" ,
35+ "build" : " bun build.ts " ,
36+ "release" : " npm run build && npm run test && npm publish --access public"
37+ },
38+ "devDependencies" : {
39+ "@types/bun" : " ^1.1.6 " ,
40+ "@types/node" : " ^20.14.10 " ,
41+ "elysia" : " >= 1.1.0-rc.2 " ,
42+ "eslint" : " ^8.26.0" ,
43+ "tsup " : " ^8.1.0 " ,
44+ "typescript" : " ^5.5.2 "
45+ },
46+ "peerDependencies" : {
47+ "elysia" : " >= 1.1.0 "
48+ }
49+ }
0 commit comments