UNPKG

react-feature-toggler

Version:

A package to help you implement feature toggles in your React app

67 lines (66 loc) 2.06 kB
{ "name": "react-feature-toggler", "description": "A package to help you implement feature toggles in your React app", "version": "1.2.0", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "scripts": { "build:cjs": "tsc --project tsconfig.cjs.json", "build:esm": "tsc --project tsconfig.esm.json", "build:types": "tsc --project tsconfig.types.json", "build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types", "clean": "rimraf dist", "format": "prettier --write .", "prepare": "npm run build", "prepublishOnly": "npm test && npm run build", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage --no-cache --runInBand", "yalc:publish": "yalc publish", "yalc:push": "yalc push" }, "keywords": [ "react", "package", "template", "typescript" ], "author": "Andrew Dyer (https://github.com/andrewdyer)", "repository": { "type": "git", "url": "https://github.com/andrewdyer/react-feature-toggler.git" }, "license": "MIT", "devDependencies": { "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^16.0.0", "@types/jest": "^29.5.12", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "^3.3.3", "react": "^18.3.1", "react-dom": "^18.3.1", "rimraf": "^6.0.1", "ts-jest": "^29.2.3", "typescript": "^5.5.4" }, "peerDependencies": { "react": "^18.3.1", "react-dom": "^18.3.1" }, "prettier": { "arrowParens": "avoid", "bracketSameLine": true, "printWidth": 100, "semi": true, "singleQuote": true, "tabWidth": 4, "trailingComma": "none" }, "files": [ "dist" ] }