Files
nitro/packages/react-native-nitro-modules/package.json
T
2024-06-19 19:54:09 +02:00

189 lines
4.1 KiB
JSON

{
"name": "react-native-nitro-modules",
"version": "0.0.3",
"description": "Nitro Modules",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/src/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"react-native.config.js",
"lib/commonjs",
"lib/module",
"lib/typescript",
"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": {
"test": "jest",
"typecheck": "tsc --noEmit",
"clean": "del-cli android/build node_modules/**/android/build lib",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"release": "bob build && release-it"
},
"keywords": [
"react-native",
"nitro",
"ios",
"android",
"cpp",
"framework",
"react",
"swift",
"native",
"modules",
"fast",
"jsi",
"turbo",
"scaffold",
"template",
"views"
],
"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.73.1",
"@release-it/conventional-changelog": "^5.0.0",
"@types/jest": "^29.5.5",
"@types/react": "^18.2.44",
"del-cli": "^5.1.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"react": "18.2.0",
"react-native": "0.74.2",
"react-native-builder-bob": "^0.23.2",
"release-it": "^15.0.0"
},
"resolutions": {
"@types/react": "^18.2.44"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"packageManager": "yarn@3.6.1",
"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
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"codegenConfig": {
"name": "RNNitroSpec",
"type": "modules",
"jsSrcsDir": "src"
}
}