Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.8 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.8 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
{
"name": "@mgcrea/react-native-jetpack-compose",
"version": "0.9.0",
"description": "Material 3 components for React Native, powered by Jetpack Compose",
"author": "Olivier Louvignes <olivier@mgcrea.io> (https://github.com/mgcrea)",
"homepage": "https://github.com/mgcrea/react-native-jetpack-compose#readme",
"repository": "github:mgcrea/react-native-jetpack-compose",
"license": "MIT",
"type": "commonjs",
"sideEffects": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": [
"src",
"!src/**/*.test.*",
"dist",
"android/build.gradle",
"android/consumer-rules.pro",
"android/src",
"android/generated",
"react-native.config.js"
],
"scripts": {
"dev": "cd example; npm run dev",
"logcat": "adb logcat --clear && adb logcat -s ReactNative:V ReactNativeJS:V AndroidRuntime:E *:S",
"codegen": "react-native codegen --platform android --outputPath android/generated",
"prettify": "prettier --write src/",
"clean": "rm -rf dist",
"build": "npm run clean && npm run build:babel && npm run build:types",
"build:babel": "babel src --out-dir dist --extensions \".ts,.tsx,.js,.jsx\" --copy-files --no-copy-ignored --ignore \"src/**/*.test.ts\",\"src/**/*.test.tsx\"",
"build:types": "tsc -p tsconfig.build.json --emitDeclarationOnly",
"lint": "eslint .",
"check": "tsc --noEmit",
"spec": "NODE_OPTIONS=--experimental-require-module jest",
"test": "npm run lint && npm run check && npm run spec",
"prepack": "npm run codegen",
"prepare": "npm run build"
},
"peerDependencies": {
"react": ">=18.2.0",
"react-native": ">=0.80.0"
},
"devDependencies": {
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.5",
"@babel/runtime": "^7.28.4",
"@jest/globals": "^30.5.1",
"@mgcrea/eslint-config-react-native": "^0.14.1",
"@react-native-community/cli": "^20.2.0",
"@react-native/babel-preset": "0.87.1",
"@react-native/jest-preset": "0.87.1",
"@react-native/typescript-config": "0.87.1",
"@testing-library/react-native": "^14.0.1",
"@types/react": "^19.2.18",
"eslint": "^9.39.1",
"jest": "^30.5.1",
"prettier": "^3.9.6",
"prettier-plugin-organize-imports": "^4.3.0",
"react": "^19.2.8",
"react-native": "0.87.1",
"typescript": "^6.0.3"
},
"engines": {
"node": ">=18"
},
"codegenConfig": {
"name": "RNJetpackComposeSpec",
"type": "components",
"jsSrcsDir": "src",
"android": {
"javaPackageName": "com.mgcrea.reactnative.jetpackcompose"
},
"includesGeneratedCode": true
},
"packageManager": "pnpm@10.24.0",
"pnpm": {
"onlyBuiltDependencies": [
"unrs-resolver"
]
}
}