Skip to content

Commit 37987c5

Browse files
committed
fix: move unnecessary deps to dev deps
1 parent 7644c7d commit 37987c5

File tree

2 files changed

+128
-113
lines changed

2 files changed

+128
-113
lines changed

package.json

+110-112
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,112 @@
11
{
2-
"name": "@react-native-clipboard/clipboard",
3-
"version": "1.16.0",
4-
"description": "React Native Clipboard API for macOS, iOS, Android, and Windows",
5-
"keywords": [
6-
"Clipboard",
7-
"getString",
8-
"react-native",
9-
"setString"
10-
],
11-
"homepage": "https://github.com/react-native-clipboard/clipboard#readme",
12-
"bugs": {
13-
"url": "https://github.com/react-native-clipboard/clipboard/issues"
14-
},
15-
"repository": {
16-
"type": "git",
17-
"url": "git+https://github.com/react-native-clipboard/clipboard.git"
18-
},
19-
"license": "MIT",
20-
"author": "M.Haris Baig <[email protected]>",
21-
"main": "dist/index.js",
22-
"types": "dist/index.d.ts",
23-
"files": [
24-
"dist",
25-
"RNCClipboard.podspec",
26-
"ios",
27-
"macos",
28-
"android",
29-
"windows",
30-
"jest",
31-
"src",
32-
"!android/**/build/*"
33-
],
34-
"scripts": {
35-
"ios": "react-native run-ios",
36-
"android": "react-native run-android --root example",
37-
"windows": "cd example && react-native run-windows",
38-
"start:windows": "install-windows-test-app -p example/windows && react-native run-windows --root example --logging",
39-
"start:windows:fabric": "install-windows-test-app -p example/windows --use-fabric && react-native run-windows --root example --logging",
40-
"start": "react-native start",
41-
"build": "tsc",
42-
"format": "biome format --write .",
43-
"lint": "biome lint --write .",
44-
"prepare": "npm run build",
45-
"test": "jest",
46-
"type-check": "tsc --noEmit"
47-
},
48-
"jest": {
49-
"preset": "react-native"
50-
},
51-
"dependencies": {
52-
"react-native": "^0.75.3",
53-
"react-native-windows": "^0.75.0"
54-
},
55-
"devDependencies": {
56-
"@babel/core": "^7.12.9",
57-
"@biomejs/biome": "1.9.4",
58-
"@callstack/react-native-visionos": "^0.76.0",
59-
"@react-native/babel-preset": "^0.75.0",
60-
"@react-native/metro-config": "^0.75.0",
61-
"@rnx-kit/align-deps": "^2.4.1",
62-
"@rnx-kit/metro-config": "^2.0.0",
63-
"@types/react": "^18.2.0",
64-
"@typescript-eslint/eslint-plugin": "^8.16.0",
65-
"babel-jest": "^26.1.0",
66-
"jest": "^29.2.1",
67-
"react": "^18.3.1",
68-
"react-native-macos": "0.76.0",
69-
"react-native-test-app": "^4.0.5",
70-
"react-test-renderer": "^18.2.0",
71-
"typescript": "^4.4.3"
72-
},
73-
"peerDependencies": {
74-
"react": ">= 16.9.0",
75-
"react-native": ">= 0.61.5",
76-
"react-native-macos": ">= 0.61.0",
77-
"react-native-windows": ">= 0.61.0"
78-
},
79-
"peerDependenciesMeta": {
80-
"react-native-macos": {
81-
"optional": true
82-
},
83-
"react-native-windows": {
84-
"optional": true
85-
}
86-
},
87-
"publishConfig": {
88-
"access": "public"
89-
},
90-
"codegenConfig": {
91-
"name": "rnclipboard",
92-
"type": "modules",
93-
"jsSrcsDir": "./src",
94-
"android": {
95-
"javaPackageName": "com.reactnativecommunity.clipboard"
96-
},
97-
"windows": {
98-
"namespace": "ClipboardCodegen",
99-
"outputDirectory": "windows/Clipboard/codegen",
100-
"separateDataTypes": true
101-
}
102-
},
103-
"packageManager": "[email protected]",
104-
"workspaces": [
105-
"example"
106-
],
107-
"react-native-windows": {
108-
"init-windows": {
109-
"name": "Clipboard",
110-
"namespace": "Clipboard",
111-
"template": "cpp-lib"
112-
}
113-
}
2+
"name": "@react-native-clipboard/clipboard",
3+
"version": "1.16.0",
4+
"description": "React Native Clipboard API for macOS, iOS, Android, and Windows",
5+
"keywords": [
6+
"Clipboard",
7+
"getString",
8+
"react-native",
9+
"setString"
10+
],
11+
"homepage": "https://github.com/react-native-clipboard/clipboard#readme",
12+
"bugs": {
13+
"url": "https://github.com/react-native-clipboard/clipboard/issues"
14+
},
15+
"repository": {
16+
"type": "git",
17+
"url": "git+https://github.com/react-native-clipboard/clipboard.git"
18+
},
19+
"license": "MIT",
20+
"author": "M.Haris Baig <[email protected]>",
21+
"main": "dist/index.js",
22+
"types": "dist/index.d.ts",
23+
"files": [
24+
"dist",
25+
"RNCClipboard.podspec",
26+
"ios",
27+
"macos",
28+
"android",
29+
"windows",
30+
"jest",
31+
"src",
32+
"!android/**/build/*"
33+
],
34+
"scripts": {
35+
"ios": "react-native run-ios",
36+
"android": "react-native run-android --root example",
37+
"windows": "cd example && react-native run-windows",
38+
"start:windows": "install-windows-test-app -p example/windows && react-native run-windows --root example --logging",
39+
"start:windows:fabric": "install-windows-test-app -p example/windows --use-fabric && react-native run-windows --root example --logging",
40+
"start": "react-native start",
41+
"build": "tsc",
42+
"format": "biome format --write .",
43+
"lint": "biome lint --write .",
44+
"prepare": "npm run build",
45+
"test": "jest",
46+
"type-check": "tsc --noEmit"
47+
},
48+
"jest": {
49+
"preset": "react-native"
50+
},
51+
"devDependencies": {
52+
"@babel/core": "^7.12.9",
53+
"@biomejs/biome": "1.9.4",
54+
"@callstack/react-native-visionos": "^0.76.0",
55+
"@react-native/babel-preset": "^0.75.0",
56+
"@react-native/metro-config": "^0.75.0",
57+
"@rnx-kit/align-deps": "^2.4.1",
58+
"@rnx-kit/metro-config": "^2.0.0",
59+
"@types/react": "^18.2.0",
60+
"@typescript-eslint/eslint-plugin": "^8.16.0",
61+
"babel-jest": "^26.1.0",
62+
"jest": "^29.2.1",
63+
"react": "^18.3.1",
64+
"react-native": "^0.75.3",
65+
"react-native-macos": "0.76.0",
66+
"react-native-test-app": "^4.0.5",
67+
"react-native-windows": "^0.75.0",
68+
"react-test-renderer": "^18.2.0",
69+
"typescript": "^4.4.3"
70+
},
71+
"peerDependencies": {
72+
"react": ">= 16.9.0",
73+
"react-native": ">= 0.61.5",
74+
"react-native-macos": ">= 0.61.0",
75+
"react-native-windows": ">= 0.61.0"
76+
},
77+
"peerDependenciesMeta": {
78+
"react-native-macos": {
79+
"optional": true
80+
},
81+
"react-native-windows": {
82+
"optional": true
83+
}
84+
},
85+
"publishConfig": {
86+
"access": "public"
87+
},
88+
"codegenConfig": {
89+
"name": "rnclipboard",
90+
"type": "modules",
91+
"jsSrcsDir": "./src",
92+
"android": {
93+
"javaPackageName": "com.reactnativecommunity.clipboard"
94+
},
95+
"windows": {
96+
"namespace": "ClipboardCodegen",
97+
"outputDirectory": "windows/Clipboard/codegen",
98+
"separateDataTypes": true
99+
}
100+
},
101+
"packageManager": "[email protected]",
102+
"workspaces": [
103+
"example"
104+
],
105+
"react-native-windows": {
106+
"init-windows": {
107+
"name": "Clipboard",
108+
"namespace": "Clipboard",
109+
"template": "cpp-lib"
110+
}
111+
}
114112
}

yarn.lock

+18-1
Original file line numberDiff line numberDiff line change
@@ -2412,7 +2412,24 @@ __metadata:
24122412
languageName: node
24132413
linkType: hard
24142414

2415-
"@react-native-clipboard/clipboard@npm:1.15.0, @react-native-clipboard/clipboard@workspace:.":
2415+
"@react-native-clipboard/clipboard@npm:1.15.0":
2416+
version: 1.15.0
2417+
resolution: "@react-native-clipboard/clipboard@npm:1.15.0"
2418+
peerDependencies:
2419+
react: ">= 16.9.0"
2420+
react-native: ">= 0.61.5"
2421+
react-native-macos: ">= 0.61.0"
2422+
react-native-windows: ">= 0.61.0"
2423+
peerDependenciesMeta:
2424+
react-native-macos:
2425+
optional: true
2426+
react-native-windows:
2427+
optional: true
2428+
checksum: 10c0/88322a11d5cadb23571e5ede444fd585649255d48b6fdd9e0932f077e597368a9daaf91b50eaed103104e0be37f51ce1e76461d183f80ab356bef410356bd391
2429+
languageName: node
2430+
linkType: hard
2431+
2432+
"@react-native-clipboard/clipboard@workspace:.":
24162433
version: 0.0.0-use.local
24172434
resolution: "@react-native-clipboard/clipboard@workspace:."
24182435
dependencies:

0 commit comments

Comments
 (0)