-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
152 lines (152 loc) · 3.98 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "react-native-screenshot-aware",
"version": "1.0.8",
"description": "React Native module for real-time screenshot detection on Android and iOS",
"source": "src/index.tsx",
"main": "lib/commonjs/index.js",
"react-native": "src/index.tsx",
"module": "lib/module/index.js",
"types": "lib/typescript/index.d.ts",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"*.podspec",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"example": "yarn workspace react-native-screenshot-aware-example",
"test": "jest",
"lint": "npx biome check ./src && npx biome format ./src && yarn lint:example",
"lint:example": "npx biome check ./example/src && npx biome format ./example/src",
"lint:fix": "npx biome lint --write ./src && npx biome format --write ./src && npx biome check --write ./src && yarn lint:fix:example",
"lint:fix:example": "npx biome lint --write ./example/src && npx biome format --write ./example/src && npx biome check --write ./example/src",
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
"prepare": "bob build",
"release": "semantic-release"
},
"keywords": [
"react-native",
"ios",
"android",
"screenshot",
"aware",
"capture",
"screen"
],
"repository": {
"type": "git",
"url": "git+https://github.com/huextrat/react-native-screenshot-aware.git"
},
"author": "Hugo EXTRAT <[email protected]> (https://github.com/huextrat)",
"license": "MIT",
"bugs": {
"url": "https://github.com/huextrat/react-native-screenshot-aware/issues"
},
"homepage": "https://github.com/huextrat/react-native-screenshot-aware#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@commitlint/cli": "19.7.1",
"@commitlint/config-conventional": "19.7.1",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@testing-library/react-native": "13.0.1",
"@types/jest": "29.5.14",
"@types/react": "19.0.10",
"@types/react-test-renderer": "19.0.0",
"commitlint": "19.7.1",
"del-cli": "6.0.0",
"husky": "9.1.7",
"jest": "29.7.0",
"react": "19.0.0",
"react-native": "0.78.0",
"react-native-builder-bob": "0.37.0",
"react-test-renderer": "19.0.0",
"semantic-release": "24.2.3",
"turbo": "2.4.2",
"typescript": "5.7.3"
},
"resolutions": {
"@types/react": "19.0.10"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"workspaces": [
"example"
],
"packageManager": "[email protected]",
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
],
"setupFilesAfterEnv": [
"<rootDir>/setupJest.ts"
],
"transform": {
"^.+\\.(js)$": [
"babel-jest",
{
"plugins": [
"babel-plugin-syntax-hermes-parser"
]
}
]
},
"collectCoverageFrom": [
"src/**/*.ts",
"src/**/*.tsx",
"!src/types.ts",
"!src/codegenSpec/**"
],
"collectCoverage": true
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"codegenConfig": {
"name": "ScreenshotAwareSpec",
"type": "all",
"jsSrcsDir": "./src/codegenSpec",
"outputDir": {
"ios": "ios/generated",
"android": "android/generated"
},
"android": {
"javaPackageName": "com.screenshotaware"
}
},
"create-react-native-library": {
"type": "module-mixed",
"languages": "kotlin-objc",
"version": "0.41.2"
}
}