mirror of
https://github.com/zoriya/nitro.git
synced 2026-10-13 00:05:23 +00:00
178 lines
4.0 KiB
JSON
178 lines
4.0 KiB
JSON
{
|
|
"name": "react-native-nitro-image",
|
|
"version": "0.0.3",
|
|
"description": "A fast in-memory Image object built with Nitro Modules.",
|
|
"main": "lib/index",
|
|
"module": "lib/index",
|
|
"types": "lib/index.d.ts",
|
|
"react-native": "src/index",
|
|
"source": "src/index",
|
|
"files": [
|
|
"src",
|
|
"react-native.config.js",
|
|
"lib",
|
|
"android/build.gradle",
|
|
"android/gradle.properties",
|
|
"android/CMakeLists.txt",
|
|
"android/src",
|
|
"ios/**/*.h",
|
|
"ios/**/*.m",
|
|
"ios/**/*.mm",
|
|
"ios/**/*.cpp",
|
|
"ios/**/*.swift",
|
|
"app.plugin.js",
|
|
"*.podspec",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"postinstall": "tsc || exit 0;",
|
|
"test": "jest",
|
|
"typecheck": "tsc --noEmit",
|
|
"clean": "del-cli android/build node_modules/**/android/build lib",
|
|
"lint": "eslint \"**/*.{js,ts,tsx}\" --fix",
|
|
"release": "bob build && release-it"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"nitro",
|
|
"image"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mrousavy/react-native-nitro.git"
|
|
},
|
|
"author": "Marc Rousavy <me@mrousavy.com> (https://github.com/mrousavy)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/mrousavy/react-native-nitro/issues"
|
|
},
|
|
"homepage": "https://github.com/mrousavy/react-native-nitro#readme",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"devDependencies": {
|
|
"@react-native/eslint-config": "^0.74.85",
|
|
"@release-it/conventional-changelog": "^5.1.1",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/react": "^18.3.3",
|
|
"del-cli": "^5.1.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-prettier": "^5.2.1",
|
|
"jest": "^29.7.0",
|
|
"nitro-codegen": "workspace:^",
|
|
"prettier": "^3.3.3",
|
|
"react": "18.3.1",
|
|
"react-native": "0.74.3",
|
|
"react-native-builder-bob": "^0.23.2",
|
|
"react-native-nitro-modules": "workspace:^",
|
|
"release-it": "^15.11.0",
|
|
"typescript": "^5.5.4"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^18.2.44"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-native": "*"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/example/node_modules",
|
|
"<rootDir>/lib/"
|
|
]
|
|
},
|
|
"release-it": {
|
|
"git": {
|
|
"commitMessage": "chore: release ${version}",
|
|
"tagName": "v${version}"
|
|
},
|
|
"npm": {
|
|
"publish": true
|
|
},
|
|
"github": {
|
|
"release": true
|
|
},
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": {
|
|
"name": "conventionalcommits",
|
|
"types": [
|
|
{
|
|
"type": "feat",
|
|
"section": "✨ Features"
|
|
},
|
|
{
|
|
"type": "perf",
|
|
"section": "💨 Performance Improvements"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"section": "🐛 Bug Fixes"
|
|
},
|
|
{
|
|
"type": "chore(deps)",
|
|
"section": "🛠️ Dependency Upgrades"
|
|
},
|
|
{
|
|
"type": "docs",
|
|
"section": "📚 Documentation"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@react-native",
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"prettier/prettier": [
|
|
"error",
|
|
{
|
|
"quoteProps": "consistent",
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"trailingComma": "es5",
|
|
"useTabs": false
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"eslintIgnore": [
|
|
"node_modules/",
|
|
"lib/"
|
|
],
|
|
"prettier": {
|
|
"quoteProps": "consistent",
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"trailingComma": "es5",
|
|
"useTabs": false,
|
|
"semi": false
|
|
},
|
|
"react-native-builder-bob": {
|
|
"source": "src",
|
|
"output": "lib",
|
|
"targets": [
|
|
"commonjs",
|
|
"module",
|
|
[
|
|
"typescript",
|
|
{
|
|
"project": "tsconfig.build.json"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"codegenConfig": {
|
|
"name": "NitroImageSpec",
|
|
"type": "modules",
|
|
"jsSrcsDir": "src"
|
|
}
|
|
}
|