(refactor): separate browser ready builds

This commit is contained in:
ManishMadan2882
2024-11-23 02:29:27 +05:30
parent 1595e0210a
commit dae0942d03
6 changed files with 34 additions and 41 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "docsgpt",
"version": "0.4.7",
"name": "docsgpt-react",
"version": "0.4.8",
"private": false,
"description": "DocsGPT 🦖 is an innovative open-source tool designed to simplify the retrieval of information from project documentation using advanced GPT models 🤖.",
"source": "./src/index.html",
@@ -11,18 +11,6 @@
"dist",
"package.json"
],
"targets": {
"modern": {
"engines": {
"browsers": "Chrome 80"
}
},
"legacy": {
"engines": {
"browsers": "> 0.5%, last 2 versions, not dead"
}
}
},
"@parcel/resolver-default": {
"packageExports": true
},
@@ -30,9 +18,9 @@
"styled-components": "^5"
},
"scripts": {
"build": "parcel build src/main.tsx --public-url ./",
"build": "parcel build src/browser.tsx --public-url ./",
"build:react": "parcel build src/index.ts",
"serve": "parcel serve -p 3000",
"serve": "parcel serve -p 3000",
"dev": "parcel -p 3000",
"test": "jest",
"lint": "eslint",