-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 2.33 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
{
"name": "@mgcrea/react-native-swiftui",
"version": "0.4.0",
"description": "SwiftUI components for React Native",
"author": "Olivier Louvignes <olivier@mgcrea.io> (https://github.com/mgcrea)",
"homepage": "https://github.com/mgcrea/react-native-swiftui#readme",
"repository": "github:mgcrea/react-native-swiftui",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"*.podspec",
"src",
"dist",
"ios"
],
"scripts": {
"dev": "cd example; npm run dev",
"build": "npm run build:babel && npm run build:types; npm run codegen:ios",
"build:babel": "babel src --out-dir dist --extensions \".ts,.tsx,.js,.jsx\" --copy-files",
"build:types": "tsc --emitDeclarationOnly",
"install:ios": "cd example; npm run install:ios",
"open:ios": "cd example; npm run open:ios",
"codegen:ios": "rm -rf ios/generated; node node_modules/react-native/scripts/generate-codegen-artifacts.js -p . -t ios -s library",
"lint": "eslint .",
"check": "tsc --noEmit",
"spec": "NODE_OPTIONS=--experimental-require-module jest",
"test": "npm run lint && npm run check && npm run spec",
"prepare": "npm run build"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.9",
"@babel/runtime": "^7.26.9",
"@jest/globals": "^29.7.0",
"@mgcrea/eslint-config-react-native": "^0.12.22",
"@react-native/babel-preset": "0.78.0",
"@react-native/typescript-config": "0.78.0",
"@testing-library/react-native": "^13.2.0",
"@types/react": "^19.0.10",
"babel-plugin-module-resolver": "^5.0.2",
"eslint": "^9.21.0",
"jest": "^29.7.0",
"prettier": "^3.5.3",
"prettier-plugin-organize-imports": "^4.1.0",
"react": "^19.0.0",
"react-native": "0.78.0",
"typescript": "^5.8.2"
},
"engines": {
"node": ">=18"
},
"codegenConfig": {
"name": "RNSwiftUISpec",
"type": "components",
"jsSrcsDir": "src",
"outputDir": {
"ios": "ios/generated",
"android": "android/generated"
},
"ios": {
"componentProvider": {
"NativePickerView": "RCTPickerView",
"NativeSwiftUIRoot": "RCTSwiftUIRootView"
}
},
"includesGeneratedCode": true
},
"packageManager": "pnpm@10.6.1"
}