Initial commit: bface library, build fixes, and refreshed docs
- Externalize all @tamagui/* and tamagui subpaths so dist no longer vendors Tamagui. - Emit TypeScript declarations with vite-plugin-dts; fix package exports types for ui/*. - Align initEnv with profiles: displayName, brandLogo, api.baseURL, themeColor, uiShell. - Stabilize tests with Node localStorage file; env tests pass. - Update README and component docs for services, menus, API client, and development.
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"name": "@reliancy/bface",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts"
|
||||
},
|
||||
"./platform/*": {
|
||||
"import": "./dist/platform/*.js",
|
||||
"types": "./dist/platform/*.d.ts"
|
||||
},
|
||||
"./ui/*": {
|
||||
"import": "./dist/ui/*.js",
|
||||
"types": "./dist/ui/*.d.ts"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"publishConfig": {
|
||||
"registry": "https://repo.reliancy.com/repository/npm-private/"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"dev": "vite build --watch",
|
||||
"test": "node --localstorage-file=.node-localstorage --test test/**/*.test.js",
|
||||
"test:watch": "node --localstorage-file=.node-localstorage --test --watch test/**/*.test.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tamagui/config": "^1.144.2",
|
||||
"@tamagui/core": "^1.144.2",
|
||||
"@tamagui/lucide-icons": "^1.144.2",
|
||||
"tamagui": "^1.144.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tamagui/vite-plugin": "^1.144.2",
|
||||
"@vitejs/plugin-react": "^4.2.1",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"vite": "^5.0.8",
|
||||
"vite-plugin-dts": "^4.3.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user