|
3 | 3 | "version": "3.6.0", |
4 | 4 | "description": "Retrieve Flow errors as ESLint errors.", |
5 | 5 | "author": "Amila Welihinda", |
6 | | - "bugs": { |
7 | | - "url": "https://github.com/amilajack/eslint-plugin-flowtype-errors/issues" |
8 | | - }, |
| 6 | + "bugs": "https://github.com/amilajack/eslint-plugin-flowtype-errors/issues", |
9 | 7 | "homepage": "https://github.com/amilajack/eslint-plugin-flowtype-errors#readme", |
10 | 8 | "main": "index.js", |
11 | 9 | "scripts": { |
|
14 | 12 | "lint": "eslint --cache --format=node_modules/eslint-formatter-pretty .", |
15 | 13 | "prettier": "prettier --single-quote --write \"./src/*.js\"", |
16 | 14 | "preversion": "yarn build", |
17 | | - "spec": "yarn build && jest test/format.spec.js", |
| 15 | + "spec": "yarn build && jest", |
18 | 16 | "test": "yarn flow && yarn lint && yarn spec" |
19 | 17 | }, |
20 | | - "repository": { |
21 | | - "type": "git", |
22 | | - "url": "git+https://github.com/amilajack/eslint-plugin-flowtype-errors.git" |
23 | | - }, |
| 18 | + "repository": "https://github.com/amilajack/eslint-plugin-flowtype-errors", |
24 | 19 | "jest": { |
25 | 20 | "testEnvironment": "node" |
26 | 21 | }, |
|
35 | 30 | "dist" |
36 | 31 | ], |
37 | 32 | "dependencies": { |
38 | | - "babel-runtime": "^6.26.0", |
| 33 | + "@babel/runtime": "^7.0.0", |
39 | 34 | "find-up": "^3.0.0", |
40 | 35 | "slash": "^2.0.0" |
41 | 36 | }, |
42 | 37 | "devDependencies": { |
43 | | - "babel-cli": "^6.26.0", |
44 | | - "babel-eslint": "^9.0.0", |
45 | | - "babel-jest": "^23.4.2", |
46 | | - "babel-plugin-add-module-exports": "^0.2.1", |
47 | | - "babel-plugin-transform-flow-strip-types": "^6.22.0", |
48 | | - "babel-plugin-transform-runtime": "^6.23.0", |
49 | | - "babel-preset-env": "^1.7.0", |
50 | | - "babel-preset-flow": "^6.23.0", |
51 | | - "babel-preset-stage-0": "^6.24.1", |
52 | | - "babel-register": "^6.26.0", |
53 | | - "chai": "^4.1.2", |
| 38 | + "@babel/cli": "^7.0.0", |
| 39 | + "@babel/core": "^7.0.0", |
| 40 | + "@babel/plugin-proposal-class-properties": "^7.0.0", |
| 41 | + "@babel/preset-env": "^7.0.0", |
| 42 | + "@babel/preset-flow": "^7.0.0", |
| 43 | + "@babel/register": "^7.0.0", |
| 44 | + "babel-core": "^7.0.0-bridge.0", |
| 45 | + "babel-eslint": "^10.0.1", |
| 46 | + "babel-jest": "^24.1.0", |
| 47 | + "chai": "^4.2.0", |
54 | 48 | "cross-env": "^5.2.0", |
55 | 49 | "cross-spawn": "^6.0.5", |
56 | | - "eslint": "4.19.1", |
| 50 | + "eslint": "5.14.1", |
57 | 51 | "eslint-config-airbnb-base": "^13.1.0", |
58 | | - "eslint-config-prettier": "^3.0.1", |
59 | | - "eslint-formatter-pretty": "^1.3.0", |
60 | | - "eslint-nibble-ignore": "^3.0.0", |
61 | | - "eslint-plugin-flowtype": "^2.50.0", |
62 | | - "eslint-plugin-html": "^4.0.5", |
63 | | - "eslint-plugin-import": "^2.14.0", |
64 | | - "eslint-plugin-prettier": "^2.6.2", |
65 | | - "eslint-plugin-vue": "^4.7.1", |
| 52 | + "eslint-config-prettier": "^4.0.0", |
| 53 | + "eslint-formatter-pretty": "^2.1.1", |
| 54 | + "eslint-plugin-flowtype": "^3.4.2", |
| 55 | + "eslint-plugin-html": "^5.0.3", |
| 56 | + "eslint-plugin-import": "^2.16.0", |
| 57 | + "eslint-plugin-prettier": "^3.0.1", |
| 58 | + "eslint-plugin-vue": "^5.2.2", |
66 | 59 | "execa": "^1.0.0", |
67 | 60 | "flow-bin": "0.93.0", |
68 | | - "jest-cli": "^23.5.0", |
69 | | - "prettier": "^1.14.2", |
70 | | - "regenerator-runtime": "^0.12.1" |
| 61 | + "jest-cli": "^24.1.0", |
| 62 | + "prettier": "^1.16.4", |
| 63 | + "regenerator-runtime": "^0.13.1" |
71 | 64 | }, |
72 | 65 | "peerDependencies": { |
73 | 66 | "eslint": ">=4.0.0", |
|
76 | 69 | "engines": { |
77 | 70 | "node": ">=4.x", |
78 | 71 | "npm": ">=5.x" |
| 72 | + }, |
| 73 | + "babel": { |
| 74 | + "presets": [ |
| 75 | + [ |
| 76 | + "@babel/preset-env", |
| 77 | + { |
| 78 | + "targets": { |
| 79 | + "node": 10 |
| 80 | + }, |
| 81 | + "useBuiltIns": "usage" |
| 82 | + } |
| 83 | + ], |
| 84 | + "@babel/preset-flow" |
| 85 | + ] |
| 86 | + }, |
| 87 | + "eslintConfig": { |
| 88 | + "extends": [ |
| 89 | + "airbnb-base", |
| 90 | + "prettier", |
| 91 | + "prettier/flowtype" |
| 92 | + ], |
| 93 | + "parser": "babel-eslint", |
| 94 | + "env": { |
| 95 | + "node": true, |
| 96 | + "es6": true |
| 97 | + }, |
| 98 | + "plugins": [ |
| 99 | + "flowtype", |
| 100 | + "prettier" |
| 101 | + ], |
| 102 | + "rules": { |
| 103 | + "consistent-return": "off", |
| 104 | + "flowtype/define-flow-type": "error", |
| 105 | + "fp/no-arguments": "off", |
| 106 | + "fp/no-class": "off", |
| 107 | + "fp/no-delete": "off", |
| 108 | + "fp/no-events": "off", |
| 109 | + "fp/no-get-set": "off", |
| 110 | + "fp/no-let": "off", |
| 111 | + "fp/no-loops": "off", |
| 112 | + "fp/no-mutating-assign": "off", |
| 113 | + "fp/no-mutating-methods": "off", |
| 114 | + "fp/no-mutation": "off", |
| 115 | + "fp/no-nil": "off", |
| 116 | + "fp/no-proxy": "off", |
| 117 | + "fp/no-rest-parameters": "off", |
| 118 | + "fp/no-this": "off", |
| 119 | + "fp/no-throw": "off", |
| 120 | + "fp/no-unused-expression": "off", |
| 121 | + "fp/no-valueof-field": "off", |
| 122 | + "prefer-destructuring": "off" |
| 123 | + } |
| 124 | + }, |
| 125 | + "renovate": { |
| 126 | + "extends": [ |
| 127 | + "bliss" |
| 128 | + ] |
79 | 129 | } |
80 | 130 | } |
0 commit comments