From c595fdd7626fcb5bd174c258ee561b78f5e50068 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 1 Oct 2024 12:20:09 +0530 Subject: [PATCH] updated package.json for cloudflare pages --- package-lock.json | 19 ++++++++++++++++++- package.json | 4 +++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0c6702e..70ead3f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,11 @@ }, "devDependencies": { "ajv": "^7.2.4", - "docsify-cli": "^4.4.4" + "docsify-cli": "^4.4.4", + "typescript": "^4.9.5" + }, + "engines": { + "node": ">=18" } }, "node_modules/@adobe/css-tools": { @@ -20994,6 +20998,19 @@ "is-typedarray": "^1.0.0" } }, + "node_modules/typescript": { + "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" + }, + "engines": { + "node": ">=4.2.0" + } + }, "node_modules/unbox-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", diff --git a/package.json b/package.json index 3584b70..168db88 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,7 @@ "web-vitals": "^2.1.4" }, "scripts": { + "install": "npm install", "start": "react-scripts start", "build": "GENERATE_SOURCEMAP=false react-scripts build", "build:local": "GENERATE_SOURCEMAP=false env-cmd -e production react-scripts build", @@ -63,6 +64,7 @@ }, "devDependencies": { "ajv": "^7.2.4", - "docsify-cli": "^4.4.4" + "docsify-cli": "^4.4.4", + "typescript": "^4.9.5" } }