|
| 1 | +{ |
| 2 | + "name": "react-tunnels", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "A easy way to communicate rendering logic and data to ancestor components in React.", |
| 5 | + "main": "./lib/index.js", |
| 6 | + "scripts": { |
| 7 | + "build": "babel ./src --out-dir ./lib", |
| 8 | + "build:watch": "babel ./src --out-dir ./lib --watch", |
| 9 | + "lint": "eslint src tests", |
| 10 | + "prettier": "prettier --write \"{src,tests}/**/*.js\"", |
| 11 | + "prepublish": "rimraf lib && yarn build", |
| 12 | + "test": "jest" |
| 13 | + }, |
| 14 | + "keywords": [ |
| 15 | + "react", |
| 16 | + "react-tunnels", |
| 17 | + "portals", |
| 18 | + "components" |
| 19 | + ], |
| 20 | + "author": "Javi Velasco <[email protected]> (http://javivelasco.com/)", |
| 21 | + "license": "MIT", |
| 22 | + "devDependencies": { |
| 23 | + "babel-cli": "^6.26.0", |
| 24 | + "babel-core": "^6.26.0", |
| 25 | + "babel-eslint": "^8.2.1", |
| 26 | + "babel-jest": "^22.1.0", |
| 27 | + "babel-preset-env": "^1.6.1", |
| 28 | + "babel-preset-react": "^6.24.1", |
| 29 | + "babel-preset-stage-2": "^6.24.1", |
| 30 | + "enzyme": "^3.3.0", |
| 31 | + "enzyme-adapter-react-16": "^1.1.1", |
| 32 | + "eslint": "^4.16.0", |
| 33 | + "eslint-config-prettier": "^2.9.0", |
| 34 | + "eslint-plugin-import": "^2.8.0", |
| 35 | + "eslint-plugin-prettier": "^2.5.0", |
| 36 | + "eslint-plugin-react": "^7.6.1", |
| 37 | + "jest": "^22.1.4", |
| 38 | + "prettier": "^1.10.2", |
| 39 | + "prop-types": "^15.6.0", |
| 40 | + "react": "^16.2.0", |
| 41 | + "react-dom": "^16.2.0", |
| 42 | + "rimraf": "^2.6.2" |
| 43 | + }, |
| 44 | + "peerDependencies": { |
| 45 | + "react": "^0.14.9 || ^15.3.0 || ^16.0.0" |
| 46 | + }, |
| 47 | + "babel": { |
| 48 | + "presets": [ |
| 49 | + "env", |
| 50 | + "stage-2", |
| 51 | + "react" |
| 52 | + ] |
| 53 | + }, |
| 54 | + "eslintConfig": { |
| 55 | + "env": { |
| 56 | + "browser": true, |
| 57 | + "node": true |
| 58 | + }, |
| 59 | + "parserOptions": { |
| 60 | + "ecmaVersion": 7, |
| 61 | + "sourceType": "module", |
| 62 | + "ecmaFeatures": { |
| 63 | + "jsx": true |
| 64 | + } |
| 65 | + }, |
| 66 | + "parser": "babel-eslint", |
| 67 | + "extends": [ |
| 68 | + "plugin:react/recommended" |
| 69 | + ], |
| 70 | + "rules": { |
| 71 | + "semi": 0, |
| 72 | + "quotes": 0, |
| 73 | + "comma-dangle": 0, |
| 74 | + "curly": [2, "multi-line"], |
| 75 | + "arrow-parens": 0, |
| 76 | + "class-methods-use-this": 0, |
| 77 | + "symbol-description": 0, |
| 78 | + "no-unused-vars": [2, { "varsIgnorePattern": "^_+$" }], |
| 79 | + "import/no-extraneous-dependencies": 0, |
| 80 | + "no-confusing-arrow": 0, |
| 81 | + "no-else-return": 0, |
| 82 | + "react/sort-comp": 0, |
| 83 | + "react/jsx-filename-extension": 0, |
| 84 | + "no-prototype-builtins": 0, |
| 85 | + "no-duplicate-imports": 0, |
| 86 | + "prettier/prettier": 2 |
| 87 | + }, |
| 88 | + "plugins": [ |
| 89 | + "prettier", |
| 90 | + "react" |
| 91 | + ] |
| 92 | + } |
| 93 | +} |
0 commit comments