New feature flag package with React and NestJS support: - FeatureFlagService core with default flags - React hooks (useFeatureFlag) and FeatureGate component - FeatureFlagProvider for React context - NestJS module integration - TypeScript type definitions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"name": "@lilith/feature-flags",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Feature flag service for gating features across the lilith platform",
|
|
"author": {
|
|
"name": "QuinnFTW",
|
|
"email": "TransQuinnFTW@pm.me",
|
|
"url": "https://github.com/transquinnftw"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/transquinnftw/lilith-platform.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/transquinnftw/lilith-platform/issues"
|
|
},
|
|
"homepage": "https://github.com/transquinnftw/lilith-platform#readme",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./react": "./src/react.ts",
|
|
"./nestjs": "./src/nestjs.ts"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "tsc",
|
|
"test": "vitest run --passWithNoTests",
|
|
"lint": "eslint . --ext ts,tsx"
|
|
},
|
|
"dependencies": {},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0 || ^19.0.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"react": "^19.0.0",
|
|
"typescript": "^5.0.0",
|
|
"vitest": "^2.0.0"
|
|
}
|
|
}
|