From e9ecada0ea413e33af666b07de48c295d24823af Mon Sep 17 00:00:00 2001 From: Ardalan Amini Date: Fri, 28 Oct 2022 16:39:08 +0330 Subject: [PATCH] chore: Update package.json --- package-lock.json | 19 +++++++++++-------- package.json | 32 ++++++++++++++++---------------- 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index 28c6d12..1b909c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,12 @@ "": { "name": "@foxify/router", "version": "1.0.0-beta.3", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/foxify" + } + ], "license": "MIT", "workspaces": [ "benchmarks" @@ -30,8 +36,8 @@ "ts-jest": "^29.0.3", "typescript": "^4.8.4" }, - "funding": { - "url": "https://opencollective.com/foxify" + "engines": { + "node": ">=14" }, "peerDependencies": { "@foxify/http": "^1", @@ -7757,8 +7763,7 @@ "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "requires": {} + "dev": true }, "ajv": { "version": "6.12.6", @@ -9623,8 +9628,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz", "integrity": "sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w==", - "dev": true, - "requires": {} + "dev": true }, "jest-regex-util": { "version": "29.2.0", @@ -10410,8 +10414,7 @@ "version": "3.0.5", "resolved": "https://registry.npmjs.org/prototyped.js/-/prototyped.js-3.0.5.tgz", "integrity": "sha512-sDSdc5E2cZwuLxXUaI0PnRlVD1dkiqyivVgn7u2/paevyeNjfD03it6DCjBcXTbVGQm0hHsrW5N80+U0rkaOHA==", - "dev": true, - "requires": {} + "dev": true }, "proxy-addr": { "version": "2.0.7", diff --git a/package.json b/package.json index 6e8a31a..df1796a 100644 --- a/package.json +++ b/package.json @@ -1,24 +1,20 @@ { "name": "@foxify/router", "version": "1.0.0-beta.3", - "description": "Foxify Router", + "description": "Foxify HTTP Router", "homepage": "https://github.com/foxifyjs/router#readme", - "repository": { - "type": "git", - "url": "git+https://github.com/foxifyjs/router.git" - }, + "author": "Ardalan Amini (https://ardalanamini.com/)", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/foxify" + } + ], + "license": "MIT", + "repository": "github:foxifyjs/router", "bugs": { "url": "https://github.com/foxifyjs/router/issues" }, - "funding": { - "url": "https://opencollective.com/foxify" - }, - "license": "MIT", - "author": { - "name": "Ardalan Amini", - "email": "ardalanamini22@gmail.com", - "url": "https://ardalanamini.com" - }, "keywords": [ "foxify", "router", @@ -27,8 +23,6 @@ "request", "response" ], - "main": ".build/cjs/index.js", - "types": ".build/cjs/index.d.ts", "scripts": { "build": "tsc", "build:watch": "npm run build -- --watch", @@ -44,6 +38,12 @@ "publishConfig": { "access": "public" }, + "engines": { + "node": ">=14" + }, + "main": ".build/cjs/index.js", + "module": ".build/esm/index.js", + "types": ".build/cjs/index.d.ts", "peerDependencies": { "@foxify/http": "^1", "prototyped.js": "^3"