UNPKG

react-alpha-beta

Version:

Simple declarative A/B testing component for React.

78 lines (77 loc) 2.53 kB
{ "name": "react-alpha-beta", "version": "0.1.2", "description": "Simple declarative A/B testing component for React.", "main": "lib/index", "files": [ "*.md", "dist", "lib" ], "scripts": { "lint": "\"`npm bin`\"/eslint --ext .js,.jsx .", "build": "npm run build:lib && npm run build:umd && npm run build:umd:min", "build:lib": "\"`npm bin`\"/babel ./src -d lib", "build:umd": "NODE_ENV=development NODE_PATH=`pwd`:$NODE_PATH \"`npm bin`\"/webpack ./src/index.js ./dist/AlphaBeta.js", "build:umd:min": "NODE_ENV=production NODE_PATH=`pwd`:$NODE_PATH \"`npm bin`\"/webpack -p ./src/index.js ./dist/AlphaBeta.min.js", "test": "NODE_ENV=test \"`npm bin`\"/mocha --require ./test/hook --check-leaks --recursive --reporter spec --ui bdd ./test/*.spec.js", "test:watch": "npm run test -- --watch", "test:cov": "NODE_ENV=test \"`npm bin`\"/istanbul cover \"`npm bin`\"/_mocha -- --require ./test/hook --check-leaks --recursive --reporter spec --ui bdd ./test/*.spec.js" }, "keywords": [ "A/B", "split", "testing", "declarative", "component", "react" ], "repository": { "type": "git", "url": "git+https://github.com/react-alpha-beta/alphabeta.git" }, "bugs": { "url": "https://github.com/react-alpha-beta/alphabeta/issues" }, "authors": [ "Ben Hall <benjaminxhall@gmail.com> (https://github.com/bxh-io)", "Jack McCloy <mccloy@me.com> (https://github.com/jackmccloy)", "Brian Park <yaru22@gmail.com> (https://github.com/yaru22)" ], "license": "MIT", "dependencies": { "isomorphic-fetch": "^2.2.1", "react": "^15.0.1", "react-dom": "^15.0.1" }, "devDependencies": { "babel-cli": "^6.7.7", "babel-core": "^6.7.7", "babel-eslint": "^6.0.3", "babel-loader": "^6.2.4", "babel-plugin-transform-runtime": "^6.7.5", "babel-preset-es2015": "^6.6.0", "babel-preset-react": "^6.5.0", "babel-preset-stage-0": "^6.5.0", "babel-runtime": "^5.0.0", "chai": "^3.5.0", "css-loader": "^0.23.1", "cz-conventional-changelog": "^1.1.5", "enzyme": "^2.2.0", "eslint": "^2.8.0", "eslint-plugin-react": "^5.0.1", "istanbul": "1.0.0-alpha.2", "jsdom": "^8.4.0", "mocha": "^2.4.5", "react-addons-test-utils": "^15.0.1", "sinon": "^1.17.3", "style-loader": "^0.13.1", "webpack": "^1.13.0", "webpack-dev-server": "^1.14.1" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }