-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 3.65 KB
/
Copy pathpackage.json
File metadata and controls
136 lines (136 loc) · 3.65 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
{
"name": "@klaappinc/react-native-nitro-protobuf",
"version": "1.1.0",
"description": "Blazing-fast Protocol Buffers for React Native, powered by Nitro + nanopb (C++).",
"publishConfig": {
"access": "public"
},
"main": "lib/index",
"module": "lib/index",
"types": "lib/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"bin": {
"react-native-nitro-protobuf": "scripts/generate-protos.mjs"
},
"files": [
"cpp",
"generated",
"proto",
"scripts",
"src",
"react-native.config.js",
"lib",
"nitrogen",
"android/build.gradle",
"android/gradle.properties",
"android/fix-prefab.gradle",
"android/CMakeLists.txt",
"android/src",
"ios/**/*.h",
"ios/**/*.m",
"ios/**/*.mm",
"ios/**/*.cpp",
"ios/**/*.swift",
"app.plugin.js",
"metro.js",
"nitro.json",
"*.podspec",
"README.md"
],
"scripts": {
"typecheck": "tsc --noEmit",
"clean": "rm -rf android/build node_modules/**/android/build lib",
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
"lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions",
"format": "prettier --write \"src/**/*.{ts,tsx}\" \"scripts/**/*.mjs\" \"bench/**/*.mjs\" app.plugin.js",
"format:check": "prettier --check \"src/**/*.{ts,tsx}\" \"scripts/**/*.mjs\" \"bench/**/*.mjs\" app.plugin.js",
"proto:generate": "node scripts/generate-protos.mjs",
"proto:watch": "node scripts/generate-protos.mjs generate --watch",
"test": "node --test",
"build": "tsc",
"prepublishOnly": "npm run build",
"typescript": "tsc",
"specs": "tsc --noEmit false && nitrogen --logLevel=\"debug\"",
"example:install": "npm --prefix example install",
"example:proto": "npm --prefix example run proto:generate",
"example:start": "npm --prefix example run start",
"ios": "node scripts/run-example.mjs ios",
"android": "node scripts/run-example.mjs android"
},
"keywords": [
"react-native",
"nitro"
],
"repository": {
"type": "git",
"url": "git+https://github.com/KlaappInc/react-native-nitro-protobuf.git"
},
"author": "Klaapp Inc. (https://github.com/KlaappInc)",
"license": "MIT",
"bugs": {
"url": "https://github.com/KlaappInc/react-native-nitro-protobuf/issues"
},
"homepage": "https://github.com/KlaappInc/react-native-nitro-protobuf#readme",
"devDependencies": {
"@jamesacarr/eslint-formatter-github-actions": "^0.2.0",
"@react-native/babel-preset": "0.85.3",
"@react-native/eslint-config": "0.85.3",
"@types/react": "^19.2.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"nitrogen": "0.35.7",
"prettier": "^3.3.3",
"react": "19.2.6",
"react-native": "0.85.3",
"react-native-nitro-modules": "0.35.7",
"typescript": "^5.8.3"
},
"dependencies": {
"grpc-tools": "^1.13.0",
"protobufjs": "^8.4.0"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-nitro-modules": "*"
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": [
"warn",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
]
}
},
"eslintIgnore": [
"node_modules/",
"lib/",
"example/",
"generated/",
"cpp/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"semi": false
}
}