solidjs-div-100vh
Version:
A workaround for the '100vh' issue in mobile browsers
48 lines (47 loc) • 1.44 kB
JSON
{
"name": "solidjs-div-100vh",
"version": "1.0.1",
"description": "A workaround for the '100vh' issue in mobile browsers",
"info": "A SolidJS port of https://www.npmjs.com/package/react-div-100vh, useful for making a div with the same height as the screen in mobile devices, without it the 'full height (100vh)' may be bigger than what the user sees and then the div would have its bottom elements hidden.",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js",
"types": "./dist/index.d.ts"
}
},
"homepage": "https://solidjs-div-100vh.vercel.app/",
"repository": {
"type": "git",
"url": "git+https://github.com/TiagoCavalcante/solidjs-div-100vh.git"
},
"keywords": [
"solidhack",
"best_ecosystem"
],
"contributors": [
{
"name": "Tiago Cavalcante Trindade",
"email": "tiagotrindade111@gmail.com",
"url": "https://github.com/TiagoCavalcante"
}
],
"license": "MIT",
"peerDependencies": {
"solid-js": ">=1.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.3",
"@rollup/plugin-node-resolve": "^13.1.3",
"rollup": "^2.70.1",
"rollup-plugin-typescript2": "^0.31.2",
"rollup-preset-solid": "^1.4.0",
"typescript": "^4.6.3"
},
"scripts": {
"build": "rollup -c"
}
}