Files
bknd/packages/plasmic/package.json

70 lines
1.7 KiB
JSON

{
"name": "@bknd/plasmic",
"version": "0.3.4-alpha1",
"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/query": ">=0.1.0"
},
"tsup": {
"entry": [
"src/index.ts"
],
"minify": false,
"clean": true,
"external": [
"react",
"react-dom",
"@plasmicapp/host",
"@plasmicapp/query",
"swr"
],
"format": [
"esm",
"cjs"
],
"platform": "browser",
"bundle": true,
"metafile": true,
"splitting": true,
"sourceMap": true,
"outDir": "dist"
},
"types": "dist/index.d.ts",
"module": "dist/index.js",
"main": "dist/index.cjs",
"files": [
"dist",
"README.md",
"!dist/*.tsbuildinfo",
"!dist/*.map",
"!dist/**/*.map",
"!dist/metafile*",
"!dist/**/metafile*"
]
}