- Created .npmrc with @bytelyst scoped registry pointing to local Gitea - Added publishConfig.registry to all 57 @bytelyst/* package.json files - Created scripts/harden-publish-config.sh for future re-runs - Prevents accidental publish to npmjs.org or corporate JFrog registry
67 lines
1.5 KiB
JSON
67 lines
1.5 KiB
JSON
{
|
|
"name": "@bytelyst/react-native-platform-sdk",
|
|
"version": "1.0.0",
|
|
"description": "React Native SDK for ByteLyst platform services",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./auth": {
|
|
"import": "./dist/auth.js",
|
|
"types": "./dist/auth.d.ts"
|
|
},
|
|
"./telemetry": {
|
|
"import": "./dist/telemetry.js",
|
|
"types": "./dist/telemetry.d.ts"
|
|
},
|
|
"./feature-flags": {
|
|
"import": "./dist/feature-flags.js",
|
|
"types": "./dist/feature-flags.d.ts"
|
|
},
|
|
"./kill-switch": {
|
|
"import": "./dist/kill-switch.js",
|
|
"types": "./dist/kill-switch.d.ts"
|
|
},
|
|
"./broadcasts": {
|
|
"import": "./dist/broadcasts.js",
|
|
"types": "./dist/broadcasts.d.ts"
|
|
},
|
|
"./surveys": {
|
|
"import": "./dist/surveys.js",
|
|
"types": "./dist/surveys.d.ts"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run",
|
|
"lint": "eslint src/**/*.ts",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {},
|
|
"peerDependencies": {
|
|
"react": ">=18.0.0",
|
|
"react-native": ">=0.72.0",
|
|
"expo": ">=49.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^19.0.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.0.0"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"bytelyst",
|
|
"platform",
|
|
"expo",
|
|
"mobile"
|
|
],
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
|
|
}
|
|
}
|