From 82893e77f9ebf000620e2875296f84fde37d0600 Mon Sep 17 00:00:00 2001 From: Jibin Thomas Date: Wed, 31 Jan 2024 21:36:57 +0530 Subject: [PATCH] fix: move typescript to dev dependency --- package-lock.json | 14 ++++++++------ package.json | 8 ++++---- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index b62383e..7531bfa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,19 +1,18 @@ { "name": "razorpay", - "version": "2.8.6", + "version": "2.9.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "razorpay", - "version": "2.8.6", + "version": "2.9.2", "license": "MIT", "dependencies": { "@types/request-promise": "^4.1.48", "promise": "^8.1.0", "request": "^2.88.0", - "request-promise": "^4.2.6", - "typescript": "^4.9.4" + "request-promise": "^4.2.6" }, "devDependencies": { "babel-cli": "^6.26.0", @@ -24,7 +23,8 @@ "deep-equal": "^2.0.5", "mocha": "^9.0.0", "nock": "^13.1.1", - "nyc": "^15.1.0" + "nyc": "^15.1.0", + "typescript": "^4.9.4" } }, "node_modules/@ampproject/remapping": { @@ -7073,6 +7073,7 @@ "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -13081,7 +13082,8 @@ "typescript": { "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==" + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "dev": true }, "unbox-primitive": { "version": "1.0.1", diff --git a/package.json b/package.json index 87f63ee..bf43d28 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "prepublish": "npm test", "clean": "rm -rf dist && mkdir dist", - "cp-types":"mkdir dist/types && cp lib/types/* dist/types && cp lib/utils/*d.ts dist/utils", + "cp-types": "mkdir dist/types && cp lib/types/* dist/types && cp lib/utils/*d.ts dist/utils", "cp-ts": "cp lib/razorpay.d.ts dist/ && npm run cp-types", "build:commonjs": "babel lib -d dist", "build": "npm run clean && npm run build:commonjs && npm run cp-ts", @@ -43,13 +43,13 @@ "deep-equal": "^2.0.5", "mocha": "^9.0.0", "nock": "^13.1.1", - "nyc": "^15.1.0" + "nyc": "^15.1.0", + "typescript": "^4.9.4" }, "dependencies": { "@types/request-promise": "^4.1.48", "promise": "^8.1.0", "request": "^2.88.0", - "request-promise": "^4.2.6", - "typescript": "^4.9.4" + "request-promise": "^4.2.6" } }