UNPKG

react-native-scaled-sheet

Version:

A React Native interceptor for StyleSheet to scale sizes based in screen dimensions.

52 lines (51 loc) 1.89 kB
{ "name": "react-native-scaled-sheet", "version": "0.9.0", "description": "A React Native interceptor for StyleSheet to scale sizes based in screen dimensions.", "author": "Helder Burato Berto <helder.burato@gmail.com> (https://helderburato.com/)", "main": "dist/index.js", "license": "MIT", "files": ["dist"], "scripts": { "build:clean": "rm -fr dist", "build": "yarn build:clean && babel src --out-dir dist", "build:watch": "yarn build --watch", "lint": "eslint src", "format": "eslint src/*.js --fix", "prepublish": "yarn build", "clean-examples-dist": "rm -rf ./examples/ExpoExampleApp/dist && rm -rf ./examples/BaseExampleApp/dist", "copy-dist": "yarn run clean-examples-dist && cp -r ./dist ./examples/ExpoExampleApp && cp -r ./dist ./examples/BaseExampleApp" }, "keywords": ["react-native-scaled-sheet", "react-native", "scaled", "scaled-sheet"], "repository": { "type": "git", "url": "git+https://github.com/helderburato/react-native-scaled-sheet.git" }, "bugs": { "url": "https://github.com/helderburato/react-native-scaled-sheet/issues" }, "homepage": "https://github.com/helderburato/react-native-scaled-sheet#readme", "peerDependencies": { "react": "^16.8.0", "react-native": "^0.61.0" }, "devDependencies": { "@babel/cli": "^7.12.7", "@babel/core": "^7.12.7", "babel-eslint": "^10.1.0", "babel-loader": "^8.2.1", "eslint": "^7.14.0", "eslint-config-airbnb": "^18.2.1", "eslint-config-prettier": "^6.15.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.21.5", "eslint-plugin-react-hooks": "^4.2.0", "husky": "^4.3.0", "metro-react-native-babel-preset": "^0.64.0", "prettier": "^2.2.0", "react": "^17.0.1", "react-native": "^0.63.3" } }