UNPKG

@fit-screen/react

Version:

Scale-based large-screen adaptive solution for React Everything is based on the design draft's px size, and the adaptation is done by scale, everything is so simple

73 lines (72 loc) 1.65 kB
{ "name": "@fit-screen/react", "type": "module", "version": "1.0.2", "author": "jp-liu <fortune_coder@foxmail.com>", "license": "MIT", "homepage": "https://github.com/jp-liu/fit-screen/tree/main/packages/react#fit-screenreact", "repository": { "type": "git", "url": "https://github.com/jp-liu/fit-screen", "directory": "./packages/react" }, "bugs": "https://github.com/jp-liu/fit-screen/issues", "keywords": [ "reactjs", "react", "react-components", "react-plugin", "react-component", "react-resource", "big-screen", "data", "screen", "fit-screen", "auto-screen" ], "sideEffects": false, "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.umd.js", "import": "./dist/index.es.js" } }, "main": "dist/index.umd.js", "module": "dist/index.es.js", "types": "dist/index.d.ts", "typesVersions": { "*": { "*": [ "./dist/*", "./dist/index.d.ts" ] } }, "files": [ "dist" ], "publishConfig": { "registry": "https://registry.npmjs.org/" }, "scripts": { "dev": "vite", "build": "tsc && vite build", "build:analyze": "tsc && vite build --mode=analyze", "pbs": "npm publish --access=public" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" }, "devDependencies": { "@fit-screen/shared": "workspace:*", "@types/react": "^18.0.17", "@types/react-dom": "^18.0.6", "@vitejs/plugin-react": "^2.0.1", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^4.6.4", "vite": "^3.0.7" } }