From 97c9fbde14ed26035d58268a87828eb7ecf04293 Mon Sep 17 00:00:00 2001 From: richard483 Date: Thu, 16 Nov 2023 01:51:28 +0700 Subject: [PATCH] defined main in package.json --- package-lock.json | 9 +++++---- package.json | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index d7b838b..c82a3bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,7 +50,6 @@ "eslint-plugin-prettier": "^4.0.0", "jest": "29.5.0", "prettier": "^2.8.8", - "prisma": "^5.4.1", "run-script-webpack-plugin": "^0.2.0", "source-map-support": "^0.5.20", "supertest": "^6.1.3", @@ -2037,8 +2036,9 @@ "version": "5.4.1", "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.4.1.tgz", "integrity": "sha512-vJTdY4la/5V3N7SFvWRmSMUh4mIQnyb/MNoDjzVbh9iLmEC+uEykj/1GPviVsorvfz7DbYSQC4RiwmlEpTEvGA==", - "devOptional": true, - "hasInstallScript": true + "hasInstallScript": true, + "optional": true, + "peer": true }, "node_modules/@prisma/engines-version": { "version": "5.4.1-1.2f302df92bd8945e20ad4595a73def5b96afa54f", @@ -7993,8 +7993,9 @@ "version": "5.4.1", "resolved": "https://registry.npmjs.org/prisma/-/prisma-5.4.1.tgz", "integrity": "sha512-op9PmU8Bcw5dNAas82wBYTG0yHnpq9/O3bhxbDBrNzwZTwBqsVCxxYRLf6wHNh9HVaDGhgjjHlu1+BcW8qdnBg==", - "devOptional": true, "hasInstallScript": true, + "optional": true, + "peer": true, "dependencies": { "@prisma/engines": "5.4.1" }, diff --git a/package.json b/package.json index ff0de1e..7bacc15 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "author": "8tech", "private": true, "license": "UNLICENSED", + "main": "src/main.js", "prisma": { "seed": "ts-node prisma/seed.ts" },