-
-
Notifications
You must be signed in to change notification settings - Fork 139
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 4.57 KB
/
package.json
File metadata and controls
152 lines (152 loc) · 4.57 KB
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-compressor",
"version": "1.18.2",
"description": "Compress Image, Video, and Audio same like Whatsapp & Auto/Manual Compression | Background Upload | Download File | Create Video Thumbnail",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android",
"ios",
"cpp",
"app.plugin.js",
"*.podspec",
"!lib/typescript/example",
"!ios/build",
"!android/build",
"!android/gradle",
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
"test": "jest",
"test:pr": "yarn test --runInBand && yarn typecheck && yarn lint",
"test:harness:android": "cd examples/bare && react-native-harness --config ./jest.harness.config.mjs --harnessRunner android --verbose",
"test:harness:ios": "cd examples/bare && react-native-harness --config ./jest.harness.config.mjs --harnessRunner ios --verbose",
"typecheck": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"prepack": "bob build",
"release": "release-it",
"example:bare": "yarn workspace react-native-compressor-bare-example",
"example:expo": "yarn workspace react-native-compressor-expo-example",
"build:android": "cd examples/bare/android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
"build:ios": "cd examples/bare/ios && xcodebuild -workspace BareExample.xcworkspace -scheme BareExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO",
"clean": "del-cli android/build examples/bare/android/build examples/bare/android/app/build examples/bare/ios/build"
},
"keywords": [
"react-native",
"ios",
"android",
"audio",
"image",
"compression",
"react-native",
"video",
"compress",
"compress-images",
"compress-videos",
"react-native-compress",
"react-native-compressor",
"compress-audio",
"whatsapp",
"compressor",
"background",
"NSURLSession",
"uploader",
"upload",
"UploadService",
"downloader",
"download",
"thumbnail",
"create-thumbnail",
"video-metadata",
"media",
"bitrate",
"exif",
"metadata"
],
"repository": "https://github.com/numandev1/react-native-compressor",
"author": "numandev1 <muhammadnuman70@gmail.com> (https://github.com/numandev1)",
"license": "MIT",
"bugs": {
"url": "https://github.com/numandev1/react-native-compressor/issues"
},
"homepage": "https://github.com/numandev1/react-native-compressor#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^20.5.0",
"@eslint/compat": "^2.0.3",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^10.0.1",
"@expo/config-plugins": "^55.0.8",
"@jest/globals": "^30.0.0",
"@react-native-harness/platform-android": "1.1.0",
"@react-native-harness/platform-apple": "1.1.0",
"@react-native/babel-preset": "0.85.0",
"@react-native/eslint-config": "0.85.0",
"@react-native/jest-preset": "0.85.0",
"@release-it/conventional-changelog": "^10.0.6",
"@types/react": "^19.2.0",
"commitlint": "^20.5.0",
"del-cli": "^7.0.0",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-ft-flow": "^3.0.11",
"eslint-plugin-prettier": "^5.5.5",
"jest": "^30.3.0",
"lefthook": "^2.1.4",
"prettier": "^3.8.1",
"react": "19.2.3",
"react-native": "0.85.0",
"react-native-builder-bob": "^0.41.0",
"react-native-harness": "1.1.0",
"release-it": "^19.2.4",
"turbo": "^2.8.21",
"typescript": "^6.0.2"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"engines": {
"node": ">= 22.11.0"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"libraries": [
{
"name": "RNCompressorSpec",
"type": "modules",
"jsSrcsDir": "src"
}
]
},
"workspaces": [
"examples/*"
],
"packageManager": "yarn@4.14.1"
}