UNPKG

react-native-nitro-sqlite

Version:

Fast SQLite library for React Native built using Nitro Modules

138 lines (137 loc) 3.12 kB
{ "name": "react-native-nitro-sqlite", "version": "9.7.0", "description": "Fast SQLite library for React Native built using Nitro Modules", "main": "./lib/module/index", "module": "./lib/module/index", "types": "./lib/typescript/module/index.d.ts", "source": "./src/index", "react-native": "./src/index", "exports": { ".": { "import": { "types": "./lib/typescript/module/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/commonjs/index.d.ts", "default": "./lib/commonjs/index.js" } } }, "files": [ "src", "lib", "nitrogen", "android", "ios", "cpp", "nitrogen", "RNNitroSQLite.podspec", "!lib/typescript/example", "!android/build", "!android/.cxx", "!ios/build", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__" ], "scripts": { "build": "bun typecheck && bob build", "specs": "bun typecheck && bun nitrogen --logLevel=\"debug\"", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\" --fix", "test": "jest", "release": "release-it", "prepublishOnly": "bun run build" }, "keywords": [ "react-native", "sqlite", "nitro-modules", "ios", "android" ], "repository": { "type": "git", "url": "git+https://github.com/margelo/react-native-nitro-sqlite.git" }, "author": "Margelo <hello@margelo.com> (https://github.com/margelo)", "license": "MIT", "bugs": { "url": "https://github.com/margelo/react-native-nitro-sqlite/issues" }, "homepage": "https://github.com/margelo/react-native-nitro-sqlite#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "dependencies": { "typeorm": "0.3.27" }, "devDependencies": { "jest": "^30.2.0", "nitrogen": "0.36.1", "react": "19.2.3", "react-native": "0.85.0-rc.0", "react-native-builder-bob": "^0.31.0", "react-native-nitro-modules": "0.36.1" }, "peerDependencies": { "react": ">=17.0.0", "react-native": ">=0.75.0", "react-native-nitro-modules": ">=0.35.0" }, "resolutions": { "@types/react": "^18.2.44" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "release-it": { "npm": { "publish": true, "skipChecks": true, "versionArgs": [ "--allow-same-version" ] }, "git": false, "github": { "release": false }, "hooks": { "before:init": "bun typecheck && bun lint", "after:bump": "bun run build" } }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "tsc": "../../node_modules/.bin/tsc", "project": "tsconfig.build.json", "esm": true } ] ] } }