mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
88 lines
2.1 KiB
JSON
88 lines
2.1 KiB
JSON
{
|
|
"name": "@bknd/plasmic",
|
|
"version": "0.5.1",
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "rm -rf dist && bun tsup && bun run build:types",
|
|
"watch": "bun tsup --watch --onSuccess 'bun run build:types'",
|
|
"build:only": "rm -rf dist && bun tsup",
|
|
"types": "bun tsc -p tsconfig.json --noEmit --skipLibCheck",
|
|
"build:types": "bun tsc --emitDeclarationOnly",
|
|
"updater": "bun x npm-check-updates -ui",
|
|
"pack": "rm -rf *.tgz && npm pack && mv *.tgz latest.tgz",
|
|
"prepublishOnly": "bun run build"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"bknd": "workspace:*",
|
|
"tsdx": "^0.14.1",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"bknd": "*",
|
|
"react": ">=18",
|
|
"react-dom": ">=18",
|
|
"@plasmicapp/host": ">=1.0.0",
|
|
"@plasmicapp/loader-react": ">=1.0.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@plasmicapp/loader-nextjs": "^1.0.0"
|
|
},
|
|
"tsup": {
|
|
"entry": [
|
|
"src/index.ts",
|
|
"src/nextjs/index.tsx"
|
|
],
|
|
"minify": true,
|
|
"clean": true,
|
|
"external": [
|
|
"react",
|
|
"react-dom",
|
|
"@plasmicapp/host",
|
|
"@plasmicapp/query",
|
|
"@plasmicapp/loader-react",
|
|
"@plasmicapp/loader-nextjs",
|
|
"swr",
|
|
"next",
|
|
"next/error",
|
|
"next/router"
|
|
],
|
|
"format": [
|
|
"esm"
|
|
],
|
|
"platform": "browser",
|
|
"bundle": true,
|
|
"metafile": true,
|
|
"splitting": true,
|
|
"sourceMap": true,
|
|
"outDir": "dist"
|
|
},
|
|
"types": "./dist/index.d.ts",
|
|
"module": "./dist/index.js",
|
|
"main": "./dist/index.js",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./nextjs": {
|
|
"types": "./dist/nextjs/index.d.ts",
|
|
"import": "./dist/nextjs/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"!dist/*.tsbuildinfo",
|
|
"!dist/*.map",
|
|
"!dist/**/*.map",
|
|
"!dist/metafile*",
|
|
"!dist/**/metafile*"
|
|
]
|
|
}
|