UNPKG

react-dynamic-font

Version:

make your text does not wrap and dynamically adjust the font size

114 lines (113 loc) 3.29 kB
{ "name": "react-dynamic-font", "version": "2.0.1", "description": "make your text does not wrap and dynamically adjust the font size", "main": "lib/index.cjs.js", "module": "es/index.esm.js", "unpkg": "browser/react-dynamic-font.min.js", "files": [ "lib", "es", "browser", "types", "styles.css", "README.md" ], "types": "./types/index.d.ts", "scripts": { "start": "run-s clean initDevBuildBeforeWatch dev", "dev": "run-p watch example", "build": "run-s clean build:rollup", "build:rollup": "cross-env NODE_ENV=production rollup -c rollup.config.js", "example": "parcel examples/public/index.html", "initDevBuildBeforeWatch": "rollup -c rollup.config.js", "watch": "rollup -w -c rollup.config.js", "clean": "rimraf examples/src/lib es lib browser types styles.css", "test": "jest --watch", "test:all": "jest", "lint": "run-p lint:ts", "lint:ts": "eslint --fix \"**/*.@(js|jsx|ts|tsx)\"", "format": "prettier --write \"**/*.@(css|js|jsx|ts|tsx|json|md)\"", "precommit": "lint-staged", "prepublishOnly": "run-s build" }, "lint-staged": { "**/*.@(js|jsx|ts|tsx)": [ "prettier --write", "eslint --fix", "git add" ], "**/*.@(css|json|md)": [ "prettier --write", "git add" ] }, "repository": { "type": "git", "url": "git+https://github.com/foisonocean/react-dynamic-font.git" }, "keywords": [ "react", "dynamic", "font", "fixed", "width" ], "author": "foisonocean", "license": "MIT", "bugs": { "url": "https://github.com/foisonocean/react-dynamic-font/issues" }, "homepage": "https://github.com/foisonocean/react-dynamic-font#readme", "peerDependencies": { "react": "^16.3.0", "react-dom": "^16.3.0" }, "devDependencies": { "@ampproject/rollup-plugin-closure-compiler": "^0.4.3", "@types/enzyme": "^3.1.11", "@types/enzyme-adapter-react-16": "^1.0.2", "@types/jest": "^23.1.4", "@types/react": "^16.4.6", "@types/react-dom": "^16.0.6", "autoprefixer": "^8.6.4", "babel-plugin-transform-class-properties": "^6.24.1", "babel-preset-react": "^6.24.1", "camelcase": "^5.0.0", "cross-env": "^5.2.0", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", "eslint": "^5.0.1", "eslint-config-airbnb-base": "^13.0.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-import": "^2.13.0", "eslint-plugin-jsx-a11y": "^6.1.0", "eslint-plugin-promise": "^3.8.0", "eslint-plugin-react": "^7.10.0", "eslint-plugin-typescript": "^0.12.0", "husky": "^0.14.3", "jest": "^23.2.0", "lint-staged": "^7.2.0", "normalize.css": "^8.0.0", "npm-run-all": "^4.1.3", "parcel-bundler": "^1.9.4", "prettier": "^1.13.7", "react": "^16.4.1", "react-dom": "^16.4.1", "rimraf": "^2.6.2", "rollup": "^0.62.0", "rollup-plugin-node-resolve": "^3.3.0", "rollup-plugin-postcss": "^1.6.2", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-typescript2": "^0.15.1", "stylus": "^0.54.5", "ts-jest": "^23.0.0", "tslib": "^1.9.3", "typescript": "^2.9.2", "typescript-eslint-parser": "^16.0.1" }, "browserslist": [ "> 1%", "ie 10" ] }