mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-03 11:11:58 +00:00
markdown-it 15 renders byte-identical HTML to 14.3.2 across headings, lists, code, links, tables, blockquotes, raw HTML, javascript: URLs, entities and rules, with the widget's custom table/thead/tr/td/th renderer rules applied. Output still goes through DOMPurify before injection. Babel 8 and flow-bin change nothing in the build: there is no babel config in the package and Parcel transforms with SWC, so bundle sizes are identical before and after. They are bumped to stay current. Verified the built bundle in Chromium: modern/browser.js loads with no page errors, renderDocsGPTWidget and renderSearchBar are both functions, and both mount DOM. ESLint 10 is not taken here either -- same eslint-plugin-react block as the frontend, so eslint and @eslint/js stay on 9. Build, tsc --noEmit and lint all clean, 0 advisories.
108 lines
3.0 KiB
JSON
108 lines
3.0 KiB
JSON
{
|
|
"name": "docsgpt",
|
|
"version": "0.7.1",
|
|
"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",
|
|
"main": "dist/main.js",
|
|
"module": "dist/module.js",
|
|
"types": "dist/types.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"package.json"
|
|
],
|
|
"targets": {
|
|
"modern": {
|
|
"engines": {
|
|
"browsers": "Chrome 80"
|
|
}
|
|
},
|
|
"legacy": {
|
|
"engines": {
|
|
"browsers": "> 0.5%, last 2 versions, not dead"
|
|
}
|
|
}
|
|
},
|
|
"@parcel/resolver-default": {
|
|
"packageExports": true
|
|
},
|
|
"resolution": {
|
|
"styled-components": "^5"
|
|
},
|
|
"scripts": {
|
|
"build": "parcel build src/browser.tsx --public-url ./",
|
|
"build:react": "parcel build src/index.ts",
|
|
"serve": "parcel serve -p 3000",
|
|
"dev": "parcel -p 3000",
|
|
"test": "jest",
|
|
"lint": "eslint ./src --ext .jsx,.js,.ts,.tsx",
|
|
"lint-fix": "eslint ./src --ext .jsx,.js,.ts,.tsx --fix",
|
|
"format": "prettier ./src --write",
|
|
"check": "tsc --noEmit",
|
|
"ci": "yarn build && yarn test && yarn lint && yarn check"
|
|
},
|
|
"dependencies": {
|
|
"@babel/plugin-transform-flow-strip-types": "^8.0.1",
|
|
"@parcel/resolver-glob": "^2.16.4",
|
|
"@parcel/transformer-svg-react": "^2.16.4",
|
|
"@parcel/transformer-typescript-tsc": "^2.16.4",
|
|
"@parcel/validator-typescript": "^2.16.4",
|
|
"@radix-ui/react-icons": "^1.3.2",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"dompurify": "^3.4.15",
|
|
"flow-bin": "^0.331.0",
|
|
"markdown-it": "^15.0.2",
|
|
"react": "^19.3.0",
|
|
"react-dom": "^19.3.0",
|
|
"styled-components": "^6.5.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^8.0.5",
|
|
"@babel/preset-env": "^8.0.5",
|
|
"@babel/preset-react": "^8.0.1",
|
|
"@eslint/js": "^9.39.4",
|
|
"@parcel/packager-ts": "^2.16.4",
|
|
"@parcel/transformer-typescript-types": "^2.16.4",
|
|
"@types/dompurify": "^3.0.5",
|
|
"@types/markdown-it": "^14.2.0",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
"@typescript-eslint/parser": "^8.70.0",
|
|
"babel-loader": "^10.1.1",
|
|
"eslint": "^9.39.5",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.6",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
"globals": "^17.12.0",
|
|
"parcel": "^2.16.4",
|
|
"prettier": "^3.9.6",
|
|
"process": "^0.11.10",
|
|
"svgo": "^4.1.0",
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/arc53/DocsGPT.git"
|
|
},
|
|
"keywords": [
|
|
"docsgpt",
|
|
"chatbot",
|
|
"assistant",
|
|
"ai",
|
|
"chatdocs",
|
|
"widget"
|
|
],
|
|
"author": "Arc53",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/arc53/DocsGPT/issues"
|
|
},
|
|
"homepage": "https://github.com/arc53/DocsGPT#readme"
|
|
}
|