-
Notifications
You must be signed in to change notification settings - Fork 90
/
package.json
124 lines (124 loc) · 3.13 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
{
"name": "react-native-otp-inputs",
"version": "7.4.0",
"description": "One-time password inputs built in pure JS for React-Native",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index.tsx",
"files": [
"src",
"lib"
],
"scripts": {
"bootstrap": "yarn example && yarn && husky install",
"example": "yarn --cwd Example",
"lint": "eslint --ext .js,.ts,.tsx .",
"prepare": "bob build",
"release": "release-it --ci",
"test": "jest --coverage --runInBand --detectOpenHandles",
"test:unit": "jest -u",
"test:watch": "jest --watch",
"typescript": "tsc --noEmit"
},
"repository": "https://github.com/dsznajder/react-native-otp-inputs",
"author": " Damian Sznajder <[email protected]>, Michal Kantor <[email protected]>",
"license": "MIT",
"keywords": [
"otp",
"react-native",
"one-time-password",
"one-time-code",
"inputs"
],
"devDependencies": {
"@babel/core": "7.18.6",
"@babel/preset-typescript": "7.18.6",
"@commitlint/config-conventional": "17.0.3",
"@react-native-clipboard/clipboard": "1.10.0",
"@react-native-community/bob": "0.17.1",
"@release-it/conventional-changelog": "5.0.0",
"@types/jest": "28.1.3",
"@types/react": "18.0.14",
"@types/react-native": "0.69.1",
"commitlint": "17.0.3",
"eslint": "8.18.0",
"eslint-config-satya164": "3.1.11",
"eslint-plugin-simple-import-sort": "7.0.0",
"husky": "8.0.1",
"jest": "28.1.2",
"metro-react-native-babel-preset": "0.71.2",
"prettier": "2.7.1",
"react": "~17.0.2",
"react-native": "0.69.1",
"react-native-builder-bob": "0.18.3",
"react-test-renderer": "~17.0.2",
"release-it": "15.1.1",
"typescript": "4.7.4"
},
"peerDependencies": {
"@react-native-clipboard/clipboard": "*",
"react": "*",
"react-native": "*"
},
"jest": {
"preset": "react-native"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": {
"bracketSpacing": true,
"bracketSameLine": false,
"printWidth": 100,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn typescript",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release-it": {
"git": {
"requireUpstream": true,
"tag": true,
"tagName": "react-native-otp-inputs@${version}",
"commit": true,
"commitMessage": "chore(:bookmark:): react-native-otp-inputs ${version}"
},
"github": {
"release": true,
"releaseName": "react-native-otp-inputs@${version}",
"draft": false
},
"npm": {
"publish": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
}
}