UNPKG

@iden3/react-native-rapidsnark

Version:
148 lines (147 loc) 3.88 kB
{ "name": "@iden3/react-native-rapidsnark", "version": "0.0.1-beta.1", "description": "React-native wrapper for rapidsnark", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!lib/typescript/example", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepack": "bob build", "example": "yarn --cwd example", "build:android": "cd example/android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a", "build:ios": "cd example/ios && xcodebuild -workspace RapidsnarkExample.xcworkspace -scheme RapidsnarkExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO", "bootstrap": "yarn example && yarn install && yarn example pods", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build", "codegen": "node node_modules/react-native/scripts/generate-codegen-artifacts.js --path example/ --outputPath ." }, "keywords": [ "react-native", "ios", "android", "rapidsnark", "groth16", "circom" ], "repository": "https://github.com/iden3/react-native-rapidsnark", "homepage": "https://github.com/iden3/react-native-rapidsnark", "author": "demonsh <dmytro.sukhiy@gmail.com>", "license": "GPL-3.0", "bugs": { "url": "https://github.com/iden3/react-native-rapidsnark/issues" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "dependencies": { "@babel/runtime": "^7.25.0" }, "devDependencies": { "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@commitlint/config-conventional": "^17.0.2", "@react-native-community/eslint-config": "^3.0.2", "@types/jest": "^28.1.2", "@types/react": "^18.2.6", "@types/react-native": "0.70.0", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "eslint": "^8.19.0", "jest": "^29.6.3", "pod-install": "^0.1.0", "prettier": "^2.8.8", "react": "18.3.1", "react-native": "0.75.4", "react-native-builder-bob": "^0.21.3", "turbo": "^1.10.7", "typescript": "5.0.4" }, "resolutions": { "@types/react": "17.0.21" }, "peerDependencies": { "react": "*", "react-native": "*" }, "engines": { "node": ">= 18.0.0" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "eslintConfig": { "root": true, "extends": [ "@react-native-community" ] }, "eslintIgnore": [ "node_modules/", "lib/" ], "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "RapidsnarkSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "com.rapidsnark" } }, "packageManager": "yarn@4.6.0" }