UNPKG

react-vh

Version:

Save correct vh in root-variable and use it in CSS.

73 lines (72 loc) 2.64 kB
{ "name": "react-vh", "version": "1.1.1", "description": "Save correct vh in root-variable and use it in CSS.", "author": "AndreasFaust", "license": "MIT", "repository": "AndreasFaust/react-vh", "main": "dist/index.js", "module": "dist/index.es.js", "jsnext:main": "dist/index.es.js", "types": "./dist/index.d.ts", "files": [ "/dist" ], "engines": { "node": ">=8", "npm": ">=5" }, "dependencies": {}, "devDependencies": { "@rollup/plugin-commonjs": "^17.0.0", "@rollup/plugin-node-resolve": "^11.1.0", "@rollup/plugin-url": "^6.0.0", "@types/node": "^14.14.21", "@types/react": "^17.0.0", "@types/resize-observer-browser": "^0.1.5", "@typescript-eslint/eslint-plugin": "4.13.0", "@typescript-eslint/parser": "4.13.0", "babel-eslint": "^10.1.0", "eslint": "7.18.0", "eslint-config-react-app": "^6.0.0", "eslint-plugin-flowtype": "5.2.0", "eslint-plugin-import": "2.22.1", "eslint-plugin-jsx-a11y": "6.4.1", "eslint-plugin-react": "7.22.0", "eslint-plugin-react-hooks": "4.2.0", "generate-changelog": "^1.8.0", "gh-pages": "^3.1.0", "next": "10.0.5", "react": "17.0.1", "react-dom": "^17.0.1", "rollup": "^2.36.2", "rollup-plugin-css-only": "^3.1.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-typescript2": "^0.29.0", "styled-components": "^5.2.1", "typescript": "^4.1.3" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "keywords": [ "React", "vh", "VH", "CSS vh unit", "Hook", "normalize", "correct" ], "scripts": { "dev": "next dev", "start": "yarn dev", "build": "rollup -c", "release:major": "yarn build && git add . && changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags && npm publish", "release:minor": "yarn build && git add . && changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags && npm publish", "release:patch": "yarn build && git add . && changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags && npm publish", "release:dev": "yarn build && git add . && git commit -m 'Do Beta-Release' && git push origin && git push origin --tags && npm version 6.0.0-next.0 && npm publish --tag next", "deploy": "yarn next build && yarn next export && touch out/.nojekyll && gh-pages -t -d out" } }