|
| 1 | +{ |
| 2 | + "name": "async-storage-flipper", |
| 3 | + "version": "0.0.5", |
| 4 | + "description": "React Native's Async Storage debugger for Flipper", |
| 5 | + "main": "index.js", |
| 6 | + "scripts": { |
| 7 | + "test:code": "eslint --max-warnings=0 --ignore-path .gitignore --ext .js,.ts,.tsx .", |
| 8 | + "fix": "npm run fix:other && npm run fix:code", |
| 9 | + "fix:code": "npm run test:code -- --fix", |
| 10 | + "fix:other": "npm run prettier -- --write", |
| 11 | + "prettier": "prettier \"**/*.{css,scss,json,md,html,yml}\" --ignore-path=.eslintignore" |
| 12 | + }, |
| 13 | + "keywords": [ |
| 14 | + "flipper", |
| 15 | + "react-native", |
| 16 | + "async-storage" |
| 17 | + ], |
| 18 | + "author": "Faustino Kialungila <[email protected]>", |
| 19 | + "license": "MIT", |
| 20 | + "devDependencies": { |
| 21 | + "eslint": "^6.8.0", |
| 22 | + "eslint-config-prettier": "^6.10.1", |
| 23 | + "eslint-plugin-import": "^2.20.2", |
| 24 | + "eslint-plugin-jsx-a11y": "^6.2.3", |
| 25 | + "eslint-plugin-prettier": "^3.1.3", |
| 26 | + "eslint-plugin-react": "^7.19.0", |
| 27 | + "lerna": "^3.20.2", |
| 28 | + "prettier": "^2.0.4" |
| 29 | + }, |
| 30 | + "eslintConfig": { |
| 31 | + "extends": [ |
| 32 | + "prettier", |
| 33 | + "prettier/@typescript-eslint", |
| 34 | + "prettier/react" |
| 35 | + ], |
| 36 | + "plugins": [ |
| 37 | + "prettier" |
| 38 | + ], |
| 39 | + "rules": { |
| 40 | + "curly": "warn", |
| 41 | + "no-console": [ |
| 42 | + "warn", |
| 43 | + { |
| 44 | + "allow": [ |
| 45 | + "warn", |
| 46 | + "error", |
| 47 | + "info" |
| 48 | + ] |
| 49 | + } |
| 50 | + ], |
| 51 | + "no-else-return": "warn", |
| 52 | + "no-useless-return": "warn", |
| 53 | + "prefer-const": [ |
| 54 | + "warn", |
| 55 | + { |
| 56 | + "destructuring": "all" |
| 57 | + } |
| 58 | + ], |
| 59 | + "prefer-template": "warn", |
| 60 | + "prettier/prettier": "warn", |
| 61 | + "no-restricted-syntax": [ |
| 62 | + "warn", |
| 63 | + { |
| 64 | + "selector": "JSXText[value=/\\w/]", |
| 65 | + "message": "Use 't(...)' instead of literal text in JSX" |
| 66 | + } |
| 67 | + ] |
| 68 | + } |
| 69 | + } |
| 70 | +} |
0 commit comments