Skip to content

Commit

Permalink
chore: add @callstack prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Nov 7, 2024
1 parent c49bdaa commit f67e38f
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
# react-native-draco

library for compressing and decompressing 3D geometric meshes and point clouds in React Native
React Native bindings for [Draco](https://github.com/google/draco) - a library for compressing and decompressing 3D geometric meshes and point clouds.

## Installation

```sh
npm install react-native-draco
yarn add @callstack/react-native-draco
```

## Usage

For documentation on how to use the Draco library, please refer to the [official documentation](https://google.github.io/draco/).

```js
import { multiply } from 'react-native-draco';

// ...

const result = multiply(3, 7);
const decoderModule = DracoDecoderModule();
const buffer = new decoderModule.DecoderBuffer();
buffer.Init(byteArray, byteArray.length);
```


Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "react-native-draco",
"name": "@callstack/react-native-draco",
"version": "0.1.0",
"description": "library for compressing and decompressing 3D geometric meshes and point clouds in React Native",
"source": "./src/index.tsx",
Expand All @@ -24,6 +24,7 @@
"android",
"ios",
"cpp",
"libs",
"*.podspec",
"react-native.config.json",
"!ios/build",
Expand Down
62 changes: 31 additions & 31 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1584,6 +1584,37 @@ __metadata:
languageName: node
linkType: hard

"@callstack/react-native-draco@workspace:.":
version: 0.0.0-use.local
resolution: "@callstack/react-native-draco@workspace:."
dependencies:
"@commitlint/config-conventional": ^17.0.2
"@evilmartians/lefthook": ^1.5.0
"@react-native/eslint-config": ^0.73.1
"@release-it/conventional-changelog": ^5.0.0
"@types/jest": ^29.5.5
"@types/react": ^18.2.44
commitlint: ^17.0.2
del-cli: ^5.1.0
eslint: ^8.51.0
eslint-config-prettier: ^9.0.0
eslint-plugin-prettier: ^5.0.1
jest: ^29.7.0
prettier: ^3.0.3
react: 18.3.1
react-native: 0.76.1
react-native-builder-bob: ^0.30.3
release-it: ^15.0.0
ts-node: ^10.9.2
turbo: ^1.10.7
typescript: ^5.2.2
zx: ^8.1.9
peerDependencies:
react: "*"
react-native: "*"
languageName: unknown
linkType: soft

"@commitlint/cli@npm:^17.8.1":
version: 17.8.1
resolution: "@commitlint/cli@npm:17.8.1"
Expand Down Expand Up @@ -11277,37 +11308,6 @@ __metadata:
languageName: unknown
linkType: soft

"react-native-draco@workspace:.":
version: 0.0.0-use.local
resolution: "react-native-draco@workspace:."
dependencies:
"@commitlint/config-conventional": ^17.0.2
"@evilmartians/lefthook": ^1.5.0
"@react-native/eslint-config": ^0.73.1
"@release-it/conventional-changelog": ^5.0.0
"@types/jest": ^29.5.5
"@types/react": ^18.2.44
commitlint: ^17.0.2
del-cli: ^5.1.0
eslint: ^8.51.0
eslint-config-prettier: ^9.0.0
eslint-plugin-prettier: ^5.0.1
jest: ^29.7.0
prettier: ^3.0.3
react: 18.3.1
react-native: 0.76.1
react-native-builder-bob: ^0.30.3
release-it: ^15.0.0
ts-node: ^10.9.2
turbo: ^1.10.7
typescript: ^5.2.2
zx: ^8.1.9
peerDependencies:
react: "*"
react-native: "*"
languageName: unknown
linkType: soft

"react-native-test-app@npm:^3.10.18":
version: 3.10.18
resolution: "react-native-test-app@npm:3.10.18"
Expand Down

0 comments on commit f67e38f

Please sign in to comment.