UNPKG

@dr.pogodin/react-native-static-server

Version:
172 lines (171 loc) 4.2 kB
{ "name": "@dr.pogodin/react-native-static-server", "version": "0.20.1", "description": "Embedded HTTP server for React Native", "source": "./src/index.tsx", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "exports": { ".": { "import": { "types": "./lib/typescript/module/src/index.d.ts", "default": "./lib/module/index.js" }, "require": { "types": "./lib/typescript/commonjs/src/index.d.ts", "default": "./lib/commonjs/index.js" } } }, "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/birdofpreyru/react-native-static-server.git" }, "author": "Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio)", "license": "MIT", "licenseFilename": "LICENSE.md", "readmeFilename": "README.md", "bugs": { "url": "https://github.com/birdofpreyru/react-native-static-server/issues" }, "homepage": "https://dr.pogodin.studio/docs/react-native-static-server", "title": "React Native Static Server", "funding": { "type": "github", "url": "https://github.com/sponsors/birdofpreyru" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@dr.pogodin/react-native-fs": "^2.32.1", "@react-native-community/cli": "15.1.3", "@react-native/eslint-config": "^0.78.1", "@types/jest": "^29.5.14", "@types/react": "^19.0.12", "del-cli": "^6.0.0", "eslint": "^8.57.1", "jest": "^29.7.0", "react": "19.0.0", "react-native": "0.78.1", "react-native-builder-bob": "^0.38.4", "react-native-windows": "^0.78.2", "typescript": "^5.8.2" }, "resolutions": { "@types/react": "^18.2.48" }, "peerDependencies": { "@dr.pogodin/react-native-fs": ">= 2.22.0", "react": "*", "react-native": "*", "react-native-windows": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "eslintConfig": { "root": true, "extends": [ "@react-native" ], "rules": { "curly": [ "error", "multi-line" ], "react/react-in-jsx-scope": "off" } }, "eslintIgnore": [ "node_modules/", "lib/" ], "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "codegen", [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json", "esm": true } ] ] }, "codegenConfig": { "name": "RNReactNativeStaticServerSpec", "type": "modules", "jsSrcsDir": "src", "windows": { "namespace": "winrt::ReactNativeStaticServer", "outputDirectory": "windows/ReactNativeStaticServer/codegen" }, "outputDir": { "ios": "ios/generated", "android": "android/generated" }, "android": { "javaPackageName": "com.drpogodin.reactnativestaticserver" }, "includesGeneratedCode": true }, "dependencies": { "@dr.pogodin/js-utils": "^0.0.17" }, "create-react-native-library": { "type": "turbo-module", "languages": "kotlin-objc", "version": "0.48.2" }, "react-native-windows": { "init-windows": { "name": "ReactNativeStaticServer", "namespace": "ReactNativeStaticServer", "template": "old/uwp-cpp-lib" } } }