UNPKG

react-native-inner-shadow

Version:

react native inner shadows with linear gradient design UI

215 lines (214 loc) 5.13 kB
{ "name": "react-native-inner-shadow", "source": "./src/index.ts", "version": "2.3.0", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/commonjs/src/index.d.ts", "bugs": { "url": "https://github.com/ShinMini/react-native-inner-shadow/issues" }, "author": "ShinMini <gusals121234@gmail.com> (https://github.com/ShinMini)", "repository": "https://github.com/ShinMini/react-native-inner-shadow", "homepage": "https://github.com/ShinMini/react-native-inner-shadow#readme", "license": "ISC", "description": "react native inner shadows with linear gradient design UI", "scripts": { "example": "yarn workspace react-native-inner-shadow-example", "dev": "yarn example start", "start": "react-native start", "test": "npx jest src", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli lib", "prepare": "bob build", "release": "release-it" }, "peerDependencies": { "@shopify/react-native-skia": "^2.0.0-next.2", "react": ">=18.3.1", "react-dom": ">=18.3.1", "react-native": ">=0.76.6", "react-native-reanimated": ">=3.16.1" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "workspaces": [ "example" ], "devDependencies": { "@babel/core": "^7.20.0", "@babel/preset-env": "^7.20.0", "@babel/runtime": "^7.20.0", "@commitlint/config-conventional": "^17.0.2", "@evilmartians/lefthook": "^1.5.0", "@react-native/babel-preset": "0.75.4", "@react-native/eslint-config": "0.75.4", "@react-native/metro-config": "0.75.4", "@react-native/typescript-config": "0.75.4", "@release-it/conventional-changelog": "^9.0.2", "@types/react": "^18.2.6", "@types/react-test-renderer": "^18.0.0", "babel-jest": "^29.6.3", "commitlint": "^17.0.2", "del-cli": "^5.1.0", "eslint": "^8.19.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.2.3", "expo": "^52.0.27", "jest": "^29.6.3", "prettier": "^3.4.2", "@shopify/react-native-skia": "^2.0.0-next.2", "react": "19.0.0", "react-native": "0.78.2", "react-native-reanimated": "^3.17.2", "react-native-builder-bob": "^0.35.2", "react-test-renderer": "18.3.1", "release-it": "^17.10.0", "typescript": "5.0.4" }, "engines": { "node": ">=18" }, "packageManager": "yarn@3.6.4", "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" } } }, "files": [ "src", "lib", "*.podspec", "!**/__tests__", "babel.config.js" ], "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "esm": true } ], [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json", "esm": true } ] ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "angular", "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, {} ] }, "infile": "CHANGELOG.md" } } }, "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "plugins": [ "prettier" ], "rules": { "react/react-in-jsx-scope": "off", "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "keywords": [ "react-native", "react-native-inner-shadow", "android", "ios", "react-native-reanimated", "react-native-skia", "react-native-linear-gradient", "react-native-linear-shadow", "react-native-linear-inner-shadow", "inner-shadow", "inset", "inset-shadow", "react-native-shadow", "shadow-pressable", "shadow-toggle", "inner-shadow-pressable", "inner-shadow-toggle", "shadow", "shadows", "gradient", "linear-gradient", "linear-shadow", "linear-inner-shadow" ] }