From d51026d863e036803d42d027645ccc08839c92aa Mon Sep 17 00:00:00 2001 From: saltyaom Date: Tue, 9 Jul 2024 16:29:29 +0700 Subject: [PATCH] :wrench: fix: using * as default value --- package.json | 97 +++++++++++++++++++++++++--------------------------- 1 file changed, 47 insertions(+), 50 deletions(-) diff --git a/package.json b/package.json index dd3a537..528bfea 100644 --- a/package.json +++ b/package.json @@ -1,52 +1,49 @@ { - "name": "@elysiajs/cors", - "version": "1.0.4", - "description": "Plugin for Elysia that for Cross Origin Requests (CORs)", - "author": { - "name": "saltyAom", - "url": "https://github.com/SaltyAom", - "email": "saltyaom@gmail.com" - }, - "repository": { - "type": "git", - "url": "https://github.com/elysiajs/elysia-cors" - }, - "main": "./dist/cjs/index.js", - "module": "./dist/index.js", - "types": "./dist/index.d.ts", - "exports": { - "package.json": "./package.json", - ".": { - "bun": "./dist/index.js", - "node": "./dist/cjs/index.js", - "require": "./dist/cjs/index.js", - "import": "./dist/index.js", - "default": "./dist/cjs/index.js", - "types": "./dist/index.d.ts" - } - }, - "homepage": "https://github.com/elysiajs/elysia-cors", - "keywords": [ - "elysia", - "cors" - ], - "license": "MIT", - "scripts": { - "dev": "bun run --watch example/index.ts", - "test": "bun test && npm run test:node", - "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", - "build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json", - "release": "npm run build && npm run test && npm publish --access public" - }, - "devDependencies": { - "@types/bun": "^1.0.4", - "@types/node": "^18.11.7", - "elysia": "1.0.27", - "eslint": "^8.26.0", - "rimraf": "^3.0.2", - "typescript": "^5.4.3" - }, - "peerDependencies": { - "elysia": ">= 1.0.2" - } + "name": "@elysiajs/cors", + "version": "1.0.4", + "description": "Plugin for Elysia that for Cross Origin Requests (CORs)", + "author": { + "name": "saltyAom", + "url": "https://github.com/SaltyAom", + "email": "saltyaom@gmail.com" + }, + "repository": { + "type": "git", + "url": "https://github.com/elysiajs/elysia-cors" + }, + "main": "./dist/cjs/index.js", + "module": "./dist/index.js", + "types": "./dist/index.d.ts", + "exports": { + "bun": "./dist/index.js", + "node": "./dist/cjs/index.js", + "require": "./dist/cjs/index.js", + "import": "./dist/index.js", + "default": "./dist/cjs/index.js", + "types": "./dist/index.d.ts" + }, + "homepage": "https://github.com/elysiajs/elysia-cors", + "keywords": [ + "elysia", + "cors" + ], + "license": "MIT", + "scripts": { + "dev": "bun run --watch example/index.ts", + "test": "bun test && npm run test:node", + "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", + "build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json", + "release": "npm run build && npm run test && npm publish --access public" + }, + "devDependencies": { + "@types/bun": "^1.0.4", + "@types/node": "^18.11.7", + "elysia": "1.0.27", + "eslint": "^8.26.0", + "rimraf": "^3.0.2", + "typescript": "^5.4.3" + }, + "peerDependencies": { + "elysia": ">= 1.0.2" + } }