Skip to content

Commit

Permalink
fix: move unnecessary deps to dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Naturalclar committed Jan 14, 2025
1 parent 7644c7d commit 37987c5
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 113 deletions.
222 changes: 110 additions & 112 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,114 +1,112 @@
{
"name": "@react-native-clipboard/clipboard",
"version": "1.16.0",
"description": "React Native Clipboard API for macOS, iOS, Android, and Windows",
"keywords": [
"Clipboard",
"getString",
"react-native",
"setString"
],
"homepage": "https://github.com/react-native-clipboard/clipboard#readme",
"bugs": {
"url": "https://github.com/react-native-clipboard/clipboard/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/react-native-clipboard/clipboard.git"
},
"license": "MIT",
"author": "M.Haris Baig <[email protected]>",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"RNCClipboard.podspec",
"ios",
"macos",
"android",
"windows",
"jest",
"src",
"!android/**/build/*"
],
"scripts": {
"ios": "react-native run-ios",
"android": "react-native run-android --root example",
"windows": "cd example && react-native run-windows",
"start:windows": "install-windows-test-app -p example/windows && react-native run-windows --root example --logging",
"start:windows:fabric": "install-windows-test-app -p example/windows --use-fabric && react-native run-windows --root example --logging",
"start": "react-native start",
"build": "tsc",
"format": "biome format --write .",
"lint": "biome lint --write .",
"prepare": "npm run build",
"test": "jest",
"type-check": "tsc --noEmit"
},
"jest": {
"preset": "react-native"
},
"dependencies": {
"react-native": "^0.75.3",
"react-native-windows": "^0.75.0"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@biomejs/biome": "1.9.4",
"@callstack/react-native-visionos": "^0.76.0",
"@react-native/babel-preset": "^0.75.0",
"@react-native/metro-config": "^0.75.0",
"@rnx-kit/align-deps": "^2.4.1",
"@rnx-kit/metro-config": "^2.0.0",
"@types/react": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"babel-jest": "^26.1.0",
"jest": "^29.2.1",
"react": "^18.3.1",
"react-native-macos": "0.76.0",
"react-native-test-app": "^4.0.5",
"react-test-renderer": "^18.2.0",
"typescript": "^4.4.3"
},
"peerDependencies": {
"react": ">= 16.9.0",
"react-native": ">= 0.61.5",
"react-native-macos": ">= 0.61.0",
"react-native-windows": ">= 0.61.0"
},
"peerDependenciesMeta": {
"react-native-macos": {
"optional": true
},
"react-native-windows": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"codegenConfig": {
"name": "rnclipboard",
"type": "modules",
"jsSrcsDir": "./src",
"android": {
"javaPackageName": "com.reactnativecommunity.clipboard"
},
"windows": {
"namespace": "ClipboardCodegen",
"outputDirectory": "windows/Clipboard/codegen",
"separateDataTypes": true
}
},
"packageManager": "[email protected]",
"workspaces": [
"example"
],
"react-native-windows": {
"init-windows": {
"name": "Clipboard",
"namespace": "Clipboard",
"template": "cpp-lib"
}
}
"name": "@react-native-clipboard/clipboard",
"version": "1.16.0",
"description": "React Native Clipboard API for macOS, iOS, Android, and Windows",
"keywords": [
"Clipboard",
"getString",
"react-native",
"setString"
],
"homepage": "https://github.com/react-native-clipboard/clipboard#readme",
"bugs": {
"url": "https://github.com/react-native-clipboard/clipboard/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/react-native-clipboard/clipboard.git"
},
"license": "MIT",
"author": "M.Haris Baig <[email protected]>",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"RNCClipboard.podspec",
"ios",
"macos",
"android",
"windows",
"jest",
"src",
"!android/**/build/*"
],
"scripts": {
"ios": "react-native run-ios",
"android": "react-native run-android --root example",
"windows": "cd example && react-native run-windows",
"start:windows": "install-windows-test-app -p example/windows && react-native run-windows --root example --logging",
"start:windows:fabric": "install-windows-test-app -p example/windows --use-fabric && react-native run-windows --root example --logging",
"start": "react-native start",
"build": "tsc",
"format": "biome format --write .",
"lint": "biome lint --write .",
"prepare": "npm run build",
"test": "jest",
"type-check": "tsc --noEmit"
},
"jest": {
"preset": "react-native"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@biomejs/biome": "1.9.4",
"@callstack/react-native-visionos": "^0.76.0",
"@react-native/babel-preset": "^0.75.0",
"@react-native/metro-config": "^0.75.0",
"@rnx-kit/align-deps": "^2.4.1",
"@rnx-kit/metro-config": "^2.0.0",
"@types/react": "^18.2.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"babel-jest": "^26.1.0",
"jest": "^29.2.1",
"react": "^18.3.1",
"react-native": "^0.75.3",
"react-native-macos": "0.76.0",
"react-native-test-app": "^4.0.5",
"react-native-windows": "^0.75.0",
"react-test-renderer": "^18.2.0",
"typescript": "^4.4.3"
},
"peerDependencies": {
"react": ">= 16.9.0",
"react-native": ">= 0.61.5",
"react-native-macos": ">= 0.61.0",
"react-native-windows": ">= 0.61.0"
},
"peerDependenciesMeta": {
"react-native-macos": {
"optional": true
},
"react-native-windows": {
"optional": true
}
},
"publishConfig": {
"access": "public"
},
"codegenConfig": {
"name": "rnclipboard",
"type": "modules",
"jsSrcsDir": "./src",
"android": {
"javaPackageName": "com.reactnativecommunity.clipboard"
},
"windows": {
"namespace": "ClipboardCodegen",
"outputDirectory": "windows/Clipboard/codegen",
"separateDataTypes": true
}
},
"packageManager": "[email protected]",
"workspaces": [
"example"
],
"react-native-windows": {
"init-windows": {
"name": "Clipboard",
"namespace": "Clipboard",
"template": "cpp-lib"
}
}
}
19 changes: 18 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2412,7 +2412,24 @@ __metadata:
languageName: node
linkType: hard

"@react-native-clipboard/clipboard@npm:1.15.0, @react-native-clipboard/clipboard@workspace:.":
"@react-native-clipboard/clipboard@npm:1.15.0":
version: 1.15.0
resolution: "@react-native-clipboard/clipboard@npm:1.15.0"
peerDependencies:
react: ">= 16.9.0"
react-native: ">= 0.61.5"
react-native-macos: ">= 0.61.0"
react-native-windows: ">= 0.61.0"
peerDependenciesMeta:
react-native-macos:
optional: true
react-native-windows:
optional: true
checksum: 10c0/88322a11d5cadb23571e5ede444fd585649255d48b6fdd9e0932f077e597368a9daaf91b50eaed103104e0be37f51ce1e76461d183f80ab356bef410356bd391
languageName: node
linkType: hard

"@react-native-clipboard/clipboard@workspace:.":
version: 0.0.0-use.local
resolution: "@react-native-clipboard/clipboard@workspace:."
dependencies:
Expand Down

0 comments on commit 37987c5

Please sign in to comment.