-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 4.31 KB
/
Copy pathpackage.json
File metadata and controls
139 lines (139 loc) · 4.31 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
137
138
139
{
"name": "@animatereactnative/ggwave",
"version": "0.1.1",
"description": "Data over sound for React Native. A Nitro module wrapping ggwave: two phones pass bytes through the air with no network, no pairing and no account.",
"main": "lib/index",
"module": "lib/index",
"types": "lib/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"codegenConfig": {
"name": "NitroGgwaveSpec",
"type": "modules",
"jsSrcsDir": "./src",
"android": {
"javaPackageName": "com.margelo.nitro.ggwave"
}
},
"files": [
"src",
"react-native.config.js",
"lib",
"nitrogen",
"android/build.gradle",
"android/gradle.properties",
"android/fix-prefab.gradle",
"android/CMakeLists.txt",
"android/src",
"cpp",
"ios/**/*.h",
"ios/**/*.m",
"ios/**/*.mm",
"ios/**/*.cpp",
"ios/**/*.swift",
"app.plugin.js",
"nitro.json",
"*.podspec",
"README.md"
],
"scripts": {
"prepare": "bun run clean && tsc",
"check": "bun run typecheck && bun run lint && bun run test:text && bun run test:host && bun run test:modem",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"specs": "tsc --noEmit false && nitrogen --logLevel=\"debug\"",
"test:text": "node --experimental-strip-types tests/text.test.ts",
"test:host": "mkdir -p .build && c++ -std=c++20 -O2 -Wall -I cpp/vendor/ggwave/include tests/host-roundtrip.cpp cpp/vendor/ggwave/src/ggwave.cpp -o .build/host-roundtrip && ./.build/host-roundtrip",
"test:modem": "mkdir -p .build && c++ -std=c++20 -O2 -Wall -Wextra -I cpp/vendor/ggwave/include tests/host-modem.cpp cpp/modem/Modem.cpp cpp/vendor/ggwave/src/ggwave.cpp -o .build/host-modem && ./.build/host-modem",
"release": "release-it",
"example": "bun --cwd example",
"example:android": "bun --cwd example run android",
"example:ios": "bun --cwd example run ios",
"clean": "rm -rf android/build node_modules/**/android/build lib tsconfig.tsbuildinfo"
},
"keywords": [
"react-native",
"ios",
"android",
"nitro",
"nitro-modules",
"ggwave",
"data-over-sound",
"audio",
"ultrasound",
"chirp",
"fsk",
"offline",
"peer-to-peer",
"local-first"
],
"repository": {
"type": "git",
"url": "git+https://github.com/animate-react-native/ggwave.git"
},
"author": "Catalin Miron <mironcatalin@gmail.com> (https://www.animatereactnative.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/animate-react-native/ggwave/issues"
},
"homepage": "https://github.com/animate-react-native/ggwave#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/react": "^19.2.15",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"nitrogen": "*",
"prettier": "^3.8.3",
"react": "19.2.3",
"react-native": "0.86.3",
"react-native-nitro-modules": "*",
"release-it": "^21.0.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.68.0"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-nitro-modules": "*"
},
"peerDependenciesMeta": {
"react-native-nitro-modules": {
"optional": true
}
},
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false,
"semi": false
},
"release-it": {
"git": {
"commitMessage": "chore: release @animatereactnative/ggwave ${version}",
"tagName": "ggwave-v${version}",
"tagAnnotation": "@animatereactnative/ggwave ${version}",
"push": true
},
"npm": {
"publish": true
},
"github": {
"release": false
},
"hooks": {
"before:init": [
"git remote get-url origin | grep -q 'catalinmiron/chalk' || { echo 'Release from the chalk checkout, not from a clone of the library. The library repository is a snapshot: the next ggwave:push replaces its tree wholesale, so a version bump made over there is deleted.'; exit 1; }",
"bun run check"
],
"after:npm:release": "GGWAVE_SKIP_CHECK=1 bun --cwd ../.. run ggwave:push \"feat: release @animatereactnative/ggwave ${version}\" ggwave-v${version}"
}
}
}