@myflags/react
Version:
React bindings for MyFlags feature flag management
69 lines • 1.74 kB
JSON
{
"name": "@myflags/react",
"version": "0.3.1",
"description": "React bindings for MyFlags feature flag management",
"author": "MyFlags Team",
"license": "MIT",
"homepage": "https://github.com/myflags-io/sdk#readme",
"repository": {
"type": "git",
"url": "https://github.com/myflags-io/sdk.git",
"directory": "packages/react"
},
"keywords": [
"feature-flags",
"feature-toggles",
"flags",
"sdk",
"react"
],
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"files": [
"dist/**"
],
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"@myflags/core": "0.3.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/react-hooks": "^8.0.1",
"@types/react": "^18.2.64",
"@types/react-dom": "^18.2.21",
"@typescript-eslint/eslint-plugin": "^8.29.1",
"@typescript-eslint/parser": "^8.29.1",
"eslint-plugin-react-hooks": "^5.2.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^1.2.2",
"eslint": "^9.24.0",
"eslint-plugin-react": "^7.33.2",
"jsdom": "^24.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tsup": "^8.0.2",
"typescript": "^5.3.3",
"typescript-eslint": "^8.29.1",
"vitest": "^1.2.2"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"lint": "eslint src/**/*.{ts,tsx}",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"test": "vitest run",
"test:watch": "vitest"
}
}