UNPKG

@matspa/react-tunnels

Version:
105 lines (104 loc) 2.6 kB
{ "name": "@matspa/react-tunnels", "version": "2.0.1", "description": "A fork of original react-tunnels updated to new context API", "main": "./lib/index.js", "repository": { "type": "git", "url": "git+https://github.com/spadettomattia/react-tunnels.git#fork/react-context-api" }, "scripts": { "build": "babel ./src --out-dir ./lib", "build:watch": "babel ./src --out-dir ./lib --watch", "lint": "eslint src tests", "prettier": "prettier --write \"{src,tests}/**/*.js\"", "prepublish": "rimraf lib && yarn build", "test": "jest" }, "keywords": [ "react", "react-tunnels", "portals" ], "author": "Javi Velasco <javier.velasco86@gmail.com> (http://javivelasco.com/)", "license": "MIT", "devDependencies": { "babel-cli": "6.26.0", "babel-core": "6.26.3", "babel-eslint": "9.0.0", "babel-jest": "23.4.2", "babel-preset-env": "1.7.0", "babel-preset-react": "6.24.1", "babel-preset-stage-2": "6.24.1", "enzyme": "3.5.0", "enzyme-adapter-react-16": "1.3.1", "eslint": "5.5.0", "eslint-config-prettier": "3.0.1", "eslint-plugin-import": "2.14.0", "eslint-plugin-prettier": "2.6.2", "eslint-plugin-react": "7.11.1", "jest": "23.5.0", "prettier": "1.14.2", "prop-types": "15.6.2", "react": "18.3.1", "react-dom": "18.3.1", "rimraf": "2.6.2" }, "peerDependencies": { "react": "^18.0.0" }, "babel": { "presets": [ "env", "stage-2", "react" ] }, "eslintConfig": { "env": { "browser": true, "node": true }, "parserOptions": { "ecmaVersion": 7, "sourceType": "module", "ecmaFeatures": { "jsx": true } }, "parser": "babel-eslint", "extends": [ "plugin:react/recommended" ], "rules": { "semi": 0, "quotes": 0, "comma-dangle": 0, "curly": [ 2, "multi-line" ], "arrow-parens": 0, "class-methods-use-this": 0, "symbol-description": 0, "no-unused-vars": [ 2, { "varsIgnorePattern": "^_+$" } ], "import/no-extraneous-dependencies": 0, "no-confusing-arrow": 0, "no-else-return": 0, "react/sort-comp": 0, "react/jsx-filename-extension": 0, "no-prototype-builtins": 0, "no-duplicate-imports": 0, "prettier/prettier": 2 }, "plugins": [ "prettier", "react" ] } }