UNPKG

@bencapp3/react-native-static-server

Version:
133 lines (132 loc) 3.4 kB
{ "name": "@bencapp3/react-native-static-server", "version": "0.21.6", "description": "Embedded HTTP server for React Native", "source": "./src/index.tsx", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "exports": { ".": { "types": "./lib/typescript/src/index.d.ts", "default": "./lib/module/index.js" }, "./package.json": "./package.json" }, "homepage": "https://dr.pogodin.studio/docs/react-native-static-server", "scripts": { "codegen-windows": "./node_modules/.bin/rnc-cli codegen-windows", "example": "yarn workspace @dr.pogodin/react-native-static-server-example", "test": "yarn lint && yarn typecheck", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build" }, "keywords": [ "react-native", "ios", "android", "lighttpd", "windows", "embed", "server", "http", "https", "react" ], "repository": { "type": "git", "url": "git+https://github.com/bencapp3/react-native-static-server.git" }, "author": "Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio)", "license": "MIT", "licenseFilename": "LICENSE.md", "readmeFilename": "README.md", "title": "React Native Static Server", "funding": { "type": "github", "url": "https://github.com/sponsors/birdofpreyru" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@bencapp3/react-native-fs": "^2.33.2", "@eslint/compat": "^1.2.9", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.28.0", "@react-native-community/cli": "18.0.0", "@react-native/eslint-config": "^0.79.3", "@types/jest": "^29.5.14", "@types/react": "^19.1.7", "del-cli": "^6.0.0", "eslint": "^9.28.0", "jest": "^29.7.0", "react": "19.1.0", "react-native": "0.79.3", "react-native-builder-bob": "^0.40.11", "typescript": "^5.8.3" }, "peerDependencies": { "@bencapp3/react-native-fs": ">= 2.22.0", "react": "^18.3.1", "react-native": "^0.76.0" }, "workspaces": [ "example" ], "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "codegen", [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "codegenConfig": { "name": "RNReactNativeStaticServerSpec", "type": "modules", "jsSrcsDir": "src", "outputDir": { "ios": "ios/generated", "android": "android/generated" }, "android": { "javaPackageName": "com.drpogodin.reactnativestaticserver" }, "includesGeneratedCode": true }, "dependencies": { "@dr.pogodin/js-utils": "^0.0.18" }, "create-react-native-library": { "type": "turbo-module", "languages": "kotlin-objc", "version": "0.49.8" }, "react-native-windows": { "init-windows": { "name": "ReactNativeStaticServer", "namespace": "ReactNativeStaticServer", "template": "old/uwp-cpp-lib" } } }