UNPKG

vue-auto-text

Version:

[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg)](https://opensource.org/licenses/mit-license.php) [![npm](https://img.shields.io/npm/v/vue-auto-text.svg)](https://www.npmjs.com/package/vue-auto-text) [![size](https://img.shields.io/bundlephobi

58 lines (57 loc) 1.52 kB
{ "name": "vue-auto-text", "version": "1.0.4", "private": false, "scripts": { "build:lib": "vue build -t lib --name vue-auto-text -d ./dist/ ./src/index.js", "build:docs": "vue-cli-service build", "build": "npm run lint && npm run build:docs && npm run build:lib", "serve": "vue-cli-service serve", "lint": "vue-cli-service lint", "test:unit": "vue-cli-service test:unit" }, "repository": { "type": "git", "url": "https://github.com/dream2023/vue-auto-text/" }, "main": "dist/vue-auto-text.umd.min.js", "homepage": "https://dream2023.github.io/vue-auto-text/", "keywords": [ "vue-auto-text", "vue text", "font-size", "font", "size", "text-metrics", "calculate-size", "fit-text" ], "dependencies": {}, "devDependencies": { "@vue/cli-plugin-babel": "^3.7.0", "@vue/cli-plugin-eslint": "^3.7.0", "@vue/cli-plugin-unit-jest": "^3.7.0", "@vue/cli-service": "^3.7.0", "@vue/eslint-config-standard": "^4.0.0", "@vue/test-utils": "1.0.0-beta.29", "babel-core": "7.0.0-bridge.0", "babel-eslint": "^10.0.1", "babel-jest": "^23.6.0", "core-js": "^2.6.5", "easy-github-pages": "^1.1.0", "eslint": "^5.16.0", "eslint-plugin-vue": "^5.0.0", "lint-staged": "^8.1.5", "vue": "^2.6.10", "vue-template-compiler": "^2.5.21" }, "gitHooks": { "pre-commit": "lint-staged" }, "lint-staged": { "src/*.{js,vue}": [ "vue-cli-service lint", "git add" ] } }