mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
8b6dc6dbbd
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Zeno Kapitein <zeno@gitbook.io>
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "@gitbook/embed",
|
|
"description": "Embeddable components for GitBook",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./react": {
|
|
"types": "./dist/react/index.d.ts",
|
|
"default": "./dist/react/index.js"
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"version": "0.5.1",
|
|
"dependencies": {
|
|
"@gitbook/api": "catalog:",
|
|
"@gitbook/icons": "workspace:",
|
|
"bidc": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*"
|
|
},
|
|
"devDependencies": {
|
|
"bun-types": "catalog:",
|
|
"@types/react": "catalog:",
|
|
"tsdown": "catalog:",
|
|
"typescript": "catalog:",
|
|
"react": "catalog:"
|
|
},
|
|
"scripts": {
|
|
"build": "bun run build-lib && bun run build-standalone",
|
|
"build-lib": "tsdown",
|
|
"build-standalone": "bun build src/standalone/index.ts --bundle --minify --outdir=standalone",
|
|
"clean": "rm -rf ./dist",
|
|
"unit": "bun test",
|
|
"typecheck": "tsc --noEmit",
|
|
"dev": "bun run build -- --watch ./src",
|
|
"publish-to-npm": "../../scripts/publish-if-new.sh"
|
|
},
|
|
"files": ["dist", "README.md", "CHANGELOG.md"],
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"repository": {
|
|
"url": "https://github.com/GitbookIO/gitbook"
|
|
}
|
|
}
|