UNPKG

react-with-direction

Version:

Components to provide and consume RTL or LTR direction in React

63 lines (62 loc) 1.97 kB
{ "name": "react-with-direction", "version": "1.2.0", "description": "Components to provide and consume RTL or LTR direction in React", "author": "Yaniv Zimet <yaniv.zimet@airbnb.com>", "repository": "airbnb/react-with-direction", "homepage": "https://github.com/airbnb/react-with-direction#readme", "bugs": "https://github.com/airbnb/react-with-direction/issues", "main": "dist/withDirection", "license": "MIT", "scripts": { "prebuild": "npm run clean", "build": "babel src --out-dir dist", "lint": "eslint .", "pretest": "npm run lint", "pretest:only": "npm run react", "test:only": "jest", "test": "npm run test:only", "clean": "rimraf dist", "react": "enzyme-adapter-react-install 16", "prepublish": "safe-publish-latest" }, "dependencies": { "airbnb-prop-types": "^2.8.1", "brcast": "^2.0.2", "deepmerge": "^1.5.1", "hoist-non-react-statics": "^2.3.1", "object.assign": "^4.0.4", "object.values": "^1.0.4", "prop-types": "^15.6.0" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-jest": "^21.2.0", "babel-plugin-transform-replace-object-assign": "^0.2.1", "babel-preset-airbnb": "^2.4.0", "casual": "^1.5.17", "chai": "^4.1.2", "chai-enzyme": "^1.0.0-beta.0", "enzyme": "^3.2.0", "enzyme-adapter-react-helper": "^1.0.3", "eslint": "^4.11.0", "eslint-config-airbnb": "^16.1.0", "eslint-plugin-import": "^2.7.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7.4.0", "jest": "^21.2.1", "react": "^0.14 || ^15 || ^16", "react-dom": "^0.14 || ^15 || ^16", "react-test-renderer": "^0.14 || ^15 || ^16", "rimraf": "^2.6.2", "safe-publish-latest": "^1.1.1", "sinon": "^4.1.2", "sinon-chai": "^2.14.0", "sinon-sandbox": "^1.0.2", "webpack": "^3.7.1" }, "peerDependencies": { "react": "^0.14 || ^15 || ^16", "react-dom": "^0.14 || ^15 || ^16" } }