Files
react-native-chat-ui/package.json
Alex 209f085a41 Add user support (#5)
* Add user support

* Move keyExtractor and renderItem to named functions
2020-03-30 23:04:46 +02:00

82 lines
2.0 KiB
JSON

{
"name": "@flyerhq/react-native-flyer-ui",
"version": "0.0.6",
"description": "Flyer Chat UI",
"homepage": "https://github.com/flyerhq/react-native-flyer-ui#readme",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"author": "Alex Demchenko <alexdemchenko@yahoo.com>",
"license": "MIT",
"files": [
"lib"
],
"scripts": {
"check": "gts check",
"clean": "gts clean",
"compile": "tsc -p .",
"fix": "gts fix",
"prepare": "yarn run compile",
"test": "jest",
"type-coverage": "type-coverage --at-least 100 --strict --ignore-catch --cache"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/runtime": "^7.9.2",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^25.1.4",
"@types/react-native": "^0.62.0",
"@types/react-test-renderer": "^16.9.2",
"@types/uuid": "^7.0.2",
"babel-jest": "^25.2.3",
"gts": "^1.1.2",
"jest": "^25.2.3",
"metro-react-native-babel-preset": "^0.59.0",
"react": "^16.13.1",
"react-native": "^0.62.0",
"react-native-safe-area-context": "^0.7.3",
"react-native-testing-library": "^1.13.0",
"react-test-renderer": "^16.13.1",
"type-coverage": "^2.4.2",
"typescript": "^3.8.3"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-safe-area-context": "*",
"react-native-get-random-values": "*"
},
"dependencies": {
"uuid": "^7.0.2"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!**/index.{ts,tsx}",
"!**/styles.{ts,tsx}",
"!**/types.{ts,tsx}",
"!**/*.d.ts"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"typeCoverage": {
"atLeast": 100
}
}