Files
f4508e4f22 Version Packages (#3044)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-05-17 18:25:39 +12:00

63 lines
2.0 KiB
JSON

{
"name": "@thirdweb-dev/react-native-adapter",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/thirdweb-dev/js/issues"
},
"author": "thirdweb eng <[email protected]>",
"type": "module",
"main": "./dist/cjs/exports/thirdweb.js",
"module": "./dist/esm/exports/thirdweb.js",
"types": "./dist/types/exports/thirdweb.d.ts",
"typings": "./dist/types/exports/thirdweb.d.ts",
"exports": {
".": {
"types": "./dist/types/exports/thirdweb.d.ts",
"import": "./dist/esm/exports/thirdweb.js",
"default": "./dist/cjs/exports/thirdweb.js"
},
"./package.json": "./package.json"
},
"files": [
"dist/*",
"src/*"
],
"dependencies": {
"@walletconnect/react-native-compat": "^2.13.0"
},
"peerDependencies": {
"typescript": ">=5.0.4",
"@react-native-async-storage/async-storage": "*",
"@react-native-community/netinfo": "*",
"expo-application": "*",
"react-native-get-random-values": "*"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
},
"expo-application": {
"optional": true
}
},
"scripts": {
"format": "biome format 'src/**/*' --write",
"lint": "biome check src/",
"fix": "biome check src/ --apply",
"build": "pnpm clean && pnpm build:cjs && pnpm build:esm && pnpm build:types",
"build:cjs": "tsc --project ./tsconfig.build.json --module commonjs --outDir ./dist/cjs --verbatimModuleSyntax false && printf '{\"type\":\"commonjs\"}' > ./dist/cjs/package.json",
"build:esm": "tsc --project ./tsconfig.build.json --module es2020 --outDir ./dist/esm && printf '{\"type\": \"module\",\"sideEffects\":false}' > ./dist/esm/package.json",
"build:types": "tsc --project ./tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
"clean": "rimraf dist",
"push": "yalc push"
},
"engines": {
"node": ">=18"
}
}