UNPKG

@marvelapp/react-ab-test

Version:

A/B testing React components and debug tools. Isomorphic with a simple, universal interface. Well documented and lightweight. Tested in popular browsers and Node.js. Includes helpers for Mixpanel and Segment.com.

93 lines (92 loc) 2.56 kB
{ "name": "@marvelapp/react-ab-test", "keywords": [ "react", "react-component", "testing", "test", "A/B", "ab", "A/B testing", "A/B test" ], "main": "index.js", "version": "3.1.0", "description": "A/B testing React components and debug tools. Isomorphic with a simple, universal interface. Well documented and lightweight. Tested in popular browsers and Node.js. Includes helpers for Mixpanel and Segment.com.", "directories": { "test": "test" }, "peerDependencies": { "react": ">=16.8.0 <18.0.0" }, "dependencies": { "fbemitter": "^3.0.0", "fbjs": "^3.0.0", "prop-types": "^15.7.2" }, "devDependencies": { "@babel/cli": "^7.14.3", "@babel/core": "^7.14.3", "@babel/plugin-proposal-class-properties": "^7.13.0", "@babel/preset-env": "^7.14.4", "@babel/preset-react": "^7.13.13", "@wojtekmaj/enzyme-adapter-react-17": "^0.6.1", "babel-eslint": "^10.1.0", "doctoc": "^2.0.0", "enzyme": "^3.11.0", "enzyme-to-json": "^3.6.2", "eslint": "^7.27.0", "eslint-plugin-babel": "^5.3.1", "eslint-plugin-jest": "^24.3.6", "eslint-plugin-promise": "^5.1.0", "eslint-plugin-react": "^7.23.2", "fbemitter": "^3.0.0", "fbjs": "^3.0.0", "husky": ">=6", "jest": "^27.0.1", "lint-staged": ">=10", "node-localstorage": "^2.1.6", "prettier": "^2.3.0", "react": "^17.0.2", "react-dom": "^17.0.2", "uuid": "^8.3.2" }, "scripts": { "test": "jest", "build": "doctoc README.md --github --title '<h1>Table of Contents</h1>'; babel src --out-dir lib;", "format": "prettier --write '**/*.{js,jsx}'", "format:check": "yarn format --check", "lint": "eslint --ignore-path .gitignore .", "lint:fix": "eslint --ignore-path .gitignore --fix .", "prepare": "husky install" }, "jest": { "resetMocks": true, "restoreMocks": true, "setupFilesAfterEnv": [ "<rootDir>test/setup.js" ], "snapshotSerializers": [ "enzyme-to-json/serializer" ], "testEnvironment": "jsdom", "testURL": "http://example.com" }, "prettier": { "singleQuote": true }, "repository": { "type": "git", "url": "git+https://github.com/marvelapp/react-ab-test.git" }, "author": "", "license": "MIT", "bugs": { "url": "https://github.com/marvelapp/react-ab-test/issues" }, "homepage": "https://github.com/marvelapp/react-ab-test#readme", "lint-staged": { "*.js": "eslint --cache --fix", "*.{js,jsx}": "prettier --write" } }