-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
113 lines (113 loc) · 3.01 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@sanar/react-native-highlight-text",
"version": "1.0.2",
"description": "A React Native port of react-native-highlight-words. This component is used to highlight words within a larger body of text.",
"main": "lib/commonjs/index.js",
"react-native": "lib/module/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/index.d.ts",
"files": [
"lib",
"src",
"README.md"
],
"scripts": {
"prepare": "bob build",
"release": "dotenv release-it",
"check-code": "yarn prettier && yarn lint && yarn tsc --noEmit",
"lint": "eslint src/index.tsx",
"prettier": "prettier --write **/*.{js,tsx,json}",
"test": "jest --verbose",
"test:coverage": "jest --coverage",
"test:watch": "jest --verbose --watch"
},
"keywords": [
"react-native",
"react",
"reactjs",
"react-component",
"highlighter",
"highlight",
"text",
"words",
"matches",
"substring",
"occurrences",
"search"
],
"author": "Sanar Tech",
"license": "MIT",
"homepage": "https://github.com/sanar/react-native-highlight-text",
"bugs": {
"url": "https://github.com/sanar/react-native-highlight-text/issues"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanar/react-native-highlight-text.git"
},
"dependencies": {
"highlight-words-core": "^1.2.0",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/runtime": "^7.6.2",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@react-native-community/bob": "^0.16.0",
"@react-native-community/eslint-config": "^1.1.0",
"@react-native-community/eslint-plugin": "^1.1.0",
"@release-it/conventional-changelog": "^1.1.4",
"@testing-library/jest-native": "^3.1.0",
"@types/highlight-words-core": "^1.2.0",
"@types/jest": "^25.2.3",
"@types/react-native": "^0.62.12",
"@types/react-test-renderer": "16.9.2",
"@typescript-eslint/eslint-plugin": "^3.1.0",
"@typescript-eslint/parser": "^3.1.0",
"babel-jest": "^26.0.1",
"dotenv-cli": "^3.2.0",
"eslint": "^7.1.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^4.2.5",
"jest": "^26.0.1",
"lint-staged": "^10.2.7",
"metro-react-native-babel-preset": "^0.59.0",
"prettier": "^2.0.5",
"react": "16.9.0",
"react-native": "0.61.5",
"react-test-renderer": "16.9.0",
"release-it": "^13.6.3",
"typescript": "3.8.3"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"yarn prettier",
"yarn lint",
"yarn tsc --noEmit"
]
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
}
}