mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 20:37:21 +00:00
70 lines
1.7 KiB
JSON
70 lines
1.7 KiB
JSON
{
|
|
"name": "@bknd/plasmic",
|
|
"version": "0.5.0",
|
|
"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"
|
|
},
|
|
"tsup": {
|
|
"entry": [
|
|
"src/index.ts"
|
|
],
|
|
"minify": true,
|
|
"clean": true,
|
|
"external": [
|
|
"react",
|
|
"react-dom",
|
|
"@plasmicapp/host",
|
|
"@plasmicapp/query",
|
|
"@plasmicapp/loader-react",
|
|
"swr"
|
|
],
|
|
"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",
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"!dist/*.tsbuildinfo",
|
|
"!dist/*.map",
|
|
"!dist/**/*.map",
|
|
"!dist/metafile*",
|
|
"!dist/**/metafile*"
|
|
]
|
|
}
|