-
Notifications
You must be signed in to change notification settings - Fork 57
/
package.json
136 lines (136 loc) · 3.43 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "react-native-user-avatar",
"version": "1.0.9",
"description": "React Native component for a user avatar with fallback to colored initials",
"main": "lib/module/index.js",
"module": "lib/module/index.js",
"react-native": "src/index.js",
"types": "lib/typescript/types.d.ts",
"files": [
"lib/",
"src/"
],
"keywords": [
"react-native",
"react-native-component",
"avatar",
"initials"
],
"author": "Avishay Bar <[email protected]>",
"license": "MIT",
"repository": "github:avishayil/react-native-user-avatar",
"scripts": {
"test": "jest --coverage && jest-coverage-badges --output './badges'",
"typescript": "tsc --noEmit",
"lint": "eslint --ext '.js' .",
"prepare": "bob build",
"release": "dotenv release-it",
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn && cp .env.example .env",
"clean": "rm -rf node_modules coverage .env lib Example/node_modules"
},
"dependencies": {
"react": "17.0.1",
"react-native": "^0.64.1",
"abortcontroller-polyfill": "^1.4.0",
"initials": "^3.0.1",
"prop-types": "^15.7.2",
"node-fetch": "2.6.7"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@commitlint/config-conventional": "^8.3.4",
"@react-native-community/bob": "^0.10.1",
"@react-native-community/eslint-config": "^0.0.7",
"@release-it/conventional-changelog": "^1.1.0",
"@types/jest": "^27.4.0",
"@types/react": "^17.0.1",
"@types/react-native": "^0.64.1",
"@jest/create-cache-key-function": "^27.5.0",
"jest-fetch-mock": "^3.0.3",
"babel-jest": "27.5.0",
"commitlint": "^8.3.4",
"dotenv-cli": "^3.1.0",
"eslint": "^5.0.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-prettier": "^3.1.2",
"husky": "^4.0.1",
"jest": "^27.5.0",
"ts-jest": "^27.1.3",
"jest-coverage-badges": "^1.1.2",
"prettier": "^1.19.1",
"metro-react-native-babel-preset": "^0.59.0",
"react-test-renderer": "17.0.1",
"release-it": "^12.6.3",
"typescript": "^3.7.5"
},
"resolutions": {
"react-native/@jest/create-cache-key-function": "^27.0.1"
},
"jest": {
"preset": "react-native",
"automock": false,
"testEnvironment": "jsdom",
"moduleFileExtensions": [
"js",
"json"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest",
"^.+\\.(js|jsx)$": "babel-jest"
},
"transformIgnorePatterns": [
],
"testMatch": [
"**/**/*.test.js?(x)"
],
"modulePathIgnorePatterns": [
"<rootDir>/Example/",
"<rootDir>/lib/"
],
"setupFilesAfterEnv": ["<rootDir>/src/__tests__/setup.js"],
"coverageReporters": [
"json-summary",
"text",
"lcov"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn lint && yarn typescript && yarn test"
}
},
"release-it": {
"git": {
"commitMessage": "chore: release %s",
"tagName": "v%s"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"module",
"typescript"
],
"files": [
"src/"
]
}
}