273 lines
7.0 KiB
JSON
273 lines
7.0 KiB
JSON
{
|
|
"name": "@lodev09/react-native-true-sheet",
|
|
"version": "3.6.6",
|
|
"description": "The true native bottom sheet experience for your React Native Apps.",
|
|
"source": "./src/index.ts",
|
|
"main": "./lib/module/index.js",
|
|
"types": "./lib/typescript/src/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"source": "./src/index.ts",
|
|
"types": "./lib/typescript/src/index.d.ts",
|
|
"default": "./lib/module/index.js"
|
|
},
|
|
"./mock": "./lib/module/mocks/index.js",
|
|
"./navigation/mock": "./lib/module/mocks/navigation.js",
|
|
"./reanimated/mock": "./lib/module/mocks/reanimated.js",
|
|
"./reanimated": {
|
|
"source": "./src/reanimated/index.ts",
|
|
"types": "./lib/typescript/src/reanimated/index.d.ts",
|
|
"default": "./lib/module/reanimated/index.js"
|
|
},
|
|
"./navigation": {
|
|
"source": "./src/navigation/index.ts",
|
|
"types": "./lib/typescript/src/navigation/index.d.ts",
|
|
"default": "./lib/module/navigation/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"lib",
|
|
"android",
|
|
"ios",
|
|
"common",
|
|
"*.podspec",
|
|
"react-native.config.js",
|
|
"!ios/build",
|
|
"!android/build",
|
|
"!android/gradle",
|
|
"!android/gradlew",
|
|
"!android/gradlew.bat",
|
|
"!android/local.properties",
|
|
"!**/__tests__",
|
|
"!**/__fixtures__",
|
|
"!**/.*"
|
|
],
|
|
"scripts": {
|
|
"bare": "yarn workspace @example/bare",
|
|
"expo": "yarn workspace @example/expo",
|
|
"docs": "yarn workspace docs",
|
|
"test": "jest",
|
|
"typecheck": "tsc",
|
|
"lint": "eslint --fix \"**/*.{ts,tsx}\"",
|
|
"format": "prettier --write \"**/*.{ts,tsx}\"",
|
|
"tidy": "yarn typecheck && yarn lint && yarn format && scripts/objclint.sh && scripts/ktlint.sh",
|
|
"clean": "scripts/clean.sh",
|
|
"prepare": "bob build",
|
|
"release": "release-it",
|
|
"release:beta": "yarn release --preRelease=beta"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"ios",
|
|
"android",
|
|
"bottom-sheet",
|
|
"native-sheet",
|
|
"sheet",
|
|
"fabric",
|
|
"turbo-module"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/lodev09/react-native-true-sheet.git"
|
|
},
|
|
"author": "Jovanni Lo <lodev09@gmail.com> (https://github.com/lodev09)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/lodev09/react-native-true-sheet/issues"
|
|
},
|
|
"homepage": "https://sheet.lodev09.com",
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.28.5",
|
|
"@commitlint/config-conventional": "^19.8.1",
|
|
"@eslint/compat": "^1.3.2",
|
|
"@eslint/eslintrc": "^3.3.1",
|
|
"@eslint/js": "^9.35.0",
|
|
"@evilmartians/lefthook": "^2.0.4",
|
|
"@gorhom/bottom-sheet": "^5.2.8",
|
|
"@react-native/babel-preset": "^0.82.1",
|
|
"@react-native/eslint-config": "^0.82.1",
|
|
"@react-navigation/native": "^7.1.6",
|
|
"@release-it/conventional-changelog": "^10.0.1",
|
|
"@testing-library/react-native": "^13.3.3",
|
|
"@types/babel__core": "^7",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/react": "19.1.1",
|
|
"commitlint": "^19.8.1",
|
|
"del-cli": "^6.0.0",
|
|
"eslint": "^9.35.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"jest": "^29.7.0",
|
|
"nanoid": "^5.1.5",
|
|
"prettier": "^3.0.3",
|
|
"react": "19.1.1",
|
|
"react-native": "0.82.1",
|
|
"react-native-builder-bob": "^0.40.15",
|
|
"react-native-reanimated": "^4.2.0",
|
|
"react-native-worklets": "^0.7.0",
|
|
"react-test-renderer": "19.1.1",
|
|
"release-it": "^19.0.4",
|
|
"turbo": "^2.5.6",
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "19.1.1",
|
|
"react-native-reanimated": "^4.2.0",
|
|
"react-native-worklets": "^0.7.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@gorhom/bottom-sheet": ">=5",
|
|
"@react-navigation/native": ">=7",
|
|
"react": "*",
|
|
"react-native": "*",
|
|
"react-native-reanimated": ">=4",
|
|
"react-native-worklets": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@gorhom/bottom-sheet": {
|
|
"optional": true
|
|
},
|
|
"@react-navigation/native": {
|
|
"optional": true
|
|
},
|
|
"react-native-reanimated": {
|
|
"optional": true
|
|
},
|
|
"react-native-worklets": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"workspaces": [
|
|
"example/bare",
|
|
"example/expo",
|
|
"example/shared",
|
|
"docs"
|
|
],
|
|
"packageManager": "yarn@4.11.0",
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/jest.setup.js"
|
|
],
|
|
"transformIgnorePatterns": [
|
|
"node_modules/(?!(react-native|@react-native|react-native-reanimated|react-native-worklets|react-native-worklets-core)/)"
|
|
],
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/example/bare/node_modules",
|
|
"<rootDir>/example/expo/node_modules",
|
|
"<rootDir>/example/shared/node_modules",
|
|
"<rootDir>/lib/",
|
|
"<rootDir>/docs/node_modules",
|
|
"<rootDir>/docs/build"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"<rootDir>/example/"
|
|
]
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"release-it": {
|
|
"git": {
|
|
"commitMessage": "chore: release ${version}",
|
|
"tagName": "v${version}"
|
|
},
|
|
"npm": {
|
|
"publish": false
|
|
},
|
|
"hooks": {
|
|
"before:init": [
|
|
"yarn tidy",
|
|
"yarn test"
|
|
]
|
|
},
|
|
"github": {
|
|
"release": true,
|
|
"comments": {
|
|
"submit": true,
|
|
"issue": ":rocket: _This issue has been resolved in v${version}. See [${releaseName}](${releaseUrl}) for release notes._",
|
|
"pr": ":rocket: _This pull request is included in v${version}. See [${releaseName}](${releaseUrl}) for release notes._"
|
|
}
|
|
},
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": {
|
|
"name": "angular"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"prettier": {
|
|
"quoteProps": "consistent",
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"trailingComma": "es5",
|
|
"useTabs": false,
|
|
"printWidth": 100
|
|
},
|
|
"react-native-builder-bob": {
|
|
"source": "src",
|
|
"output": "lib",
|
|
"targets": [
|
|
[
|
|
"module",
|
|
{
|
|
"esm": true
|
|
}
|
|
],
|
|
[
|
|
"typescript",
|
|
{
|
|
"project": "tsconfig.build.json"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"create-react-native-library": {
|
|
"languages": "kotlin-objc",
|
|
"type": "fabric-view",
|
|
"tools": [
|
|
"eslint",
|
|
"lefthook",
|
|
"release-it",
|
|
"jest"
|
|
],
|
|
"version": "0.55.0"
|
|
},
|
|
"codegenConfig": {
|
|
"name": "TrueSheetSpec",
|
|
"type": "all",
|
|
"jsSrcsDir": "src",
|
|
"android": {
|
|
"javaPackageName": "com.lodev09.truesheet"
|
|
},
|
|
"ios": {
|
|
"components": {
|
|
"TrueSheetView": {
|
|
"className": "TrueSheetView"
|
|
},
|
|
"TrueSheetContainerView": {
|
|
"className": "TrueSheetContainerView"
|
|
},
|
|
"TrueSheetContentView": {
|
|
"className": "TrueSheetContentView"
|
|
},
|
|
"TrueSheetHeaderView": {
|
|
"className": "TrueSheetHeaderView"
|
|
},
|
|
"TrueSheetFooterView": {
|
|
"className": "TrueSheetFooterView"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|