190 lines
4.7 KiB
JSON
190 lines
4.7 KiB
JSON
{
|
|
"name": "@lodev09/react-native-true-sheet",
|
|
"version": "0.11.0",
|
|
"description": "The true native bottom sheet experience for your React Native Apps.",
|
|
"main": "lib/commonjs/index",
|
|
"module": "lib/module/index",
|
|
"types": "lib/typescript/src/index.d.ts",
|
|
"react-native": "src/index",
|
|
"source": "src/index",
|
|
"files": [
|
|
"src",
|
|
"lib",
|
|
"android",
|
|
"ios",
|
|
"cpp",
|
|
"*.podspec",
|
|
"!ios/build",
|
|
"!android/build",
|
|
"!android/gradle",
|
|
"!android/gradlew",
|
|
"!android/gradlew.bat",
|
|
"!android/local.properties",
|
|
"!**/__tests__",
|
|
"!**/__fixtures__",
|
|
"!**/.*"
|
|
],
|
|
"scripts": {
|
|
"example": "yarn workspace true-sheet-example",
|
|
"docs": "yarn workspace docs",
|
|
"test": "jest",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "eslint --fix \"**/*.{js,ts,tsx}\"",
|
|
"format": "prettier --write \"**/*.{js,ts,tsx}\"",
|
|
"tidy": "yarn typecheck && yarn lint && yarn format && scripts/swiftlint.sh && scripts/ktlint.sh",
|
|
"clean": "del-cli android/build lib && yarn workspace true-sheet-example clean",
|
|
"prepare": "bob build",
|
|
"release": "yarn tidy && release-it"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"ios",
|
|
"android",
|
|
"bottom-sheet",
|
|
"native-sheet",
|
|
"sheet"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/lodev09/react-native-true-sheet.git"
|
|
},
|
|
"author": "lodev09 <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": {
|
|
"@commitlint/config-conventional": "^19.0.3",
|
|
"@evilmartians/lefthook": "^1.6.5",
|
|
"@react-native/eslint-config": "^0.73.2",
|
|
"@release-it/conventional-changelog": "^8.0.1",
|
|
"@types/jest": "^29.5.12",
|
|
"@types/react": "^18.2.64",
|
|
"@typescript-eslint/eslint-plugin": "^7.1.1",
|
|
"@typescript-eslint/parser": "^7.1.1",
|
|
"commitlint": "^19.0.3",
|
|
"del-cli": "^5.1.0",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-n": "^16.6.2",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"jest": "^29.7.0",
|
|
"prettier": "^3.2.5",
|
|
"react": "^18.2.0",
|
|
"react-native": "^0.73.5",
|
|
"react-native-builder-bob": "^0.23.2",
|
|
"release-it": "^17.1.1",
|
|
"typescript": "~5.3.3"
|
|
},
|
|
"resolutions": {
|
|
"@types/react": "^18.2.44"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "*",
|
|
"react-native": "*"
|
|
},
|
|
"workspaces": [
|
|
"example",
|
|
"docs"
|
|
],
|
|
"packageManager": "yarn@4.1.1",
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/example/node_modules",
|
|
"<rootDir>/docs/node_modules",
|
|
"<rootDir>/lib/",
|
|
"<rootDir>/docs/build"
|
|
]
|
|
},
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
]
|
|
},
|
|
"release-it": {
|
|
"git": {
|
|
"commitMessage": "chore: release ${version}",
|
|
"tagName": "v${version}"
|
|
},
|
|
"npm": {
|
|
"publish": true
|
|
},
|
|
"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": "angular"
|
|
}
|
|
}
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:react-native/all",
|
|
"standard",
|
|
"prettier"
|
|
],
|
|
"globals": {
|
|
"it": false
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/no-var-requires": 0,
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"no-unused-vars": 0
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"pragma": "React",
|
|
"version": "detect"
|
|
}
|
|
}
|
|
},
|
|
"prettier": {
|
|
"quoteProps": "consistent",
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"trailingComma": "es5",
|
|
"useTabs": false,
|
|
"printWidth": 100,
|
|
"semi": false
|
|
},
|
|
"react-native-builder-bob": {
|
|
"exclude": "**/{__tests__,__fixtures__}/**",
|
|
"source": "src",
|
|
"output": "lib",
|
|
"targets": [
|
|
"commonjs",
|
|
"module",
|
|
[
|
|
"typescript",
|
|
{
|
|
"project": "tsconfig.build.json"
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|